summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
Commit message (Collapse)AuthorAgeFilesLines
* Put mkdir into /sbin on the initrd, too.Chris Lumens2009-07-291-0/+1
|
* Make sure controlunits.sh is installed to initrd on s390David Cantrell2009-07-281-0/+1
| | | | | | Put controlunits.sh in /usr/lib/anaconda-runtime/loader on s390, install as /sbin/controlunits in the initrd.img, modify linuxrc.s390 to source /sbin/controlunits.
* Make sure s390 gets /lib/ld64.so.1David Cantrell2009-07-281-0/+5
| | | | If s390 images lack /lib/ld64.so.1, nothing works.
* Add a bunch more stuff to the initrd needed for networking.Chris Lumens2009-07-211-1/+11
|
* Add more things to /sbin on the initrd that udev requires.Chris Lumens2009-07-211-0/+5
|
* There is no /bin on the initrd so sleep needs to go into /sbin.Chris Lumens2009-07-141-1/+1
|
* dhclient now reads config files from /etc/dhcpDavid Cantrell2009-07-061-0/+1
| | | | | Create /etc/dhcp in the initrd image and make sure loader writes dhclient configuration files to /etc/dhcp.
* Put sleep in /bin on the initrd (#505639).Chris Lumens2009-07-061-0/+3
|
* No longer symlink binaries to busybox.Chris Lumens2009-07-061-16/+0
|
* Set LIBDIR appropriately on PPC64.Bill Nottingham2009-06-261-1/+1
|
* Include libwrap library for sshd and telnet in s390 installsJoel Granados Moreno2009-06-161-0/+1
| | | | | | This is a port from the RHEL5 patch to make sure that this lib is present so sshd and telnet can work properly in s390. RHEL5 reference bug (#473955).
* ipcalc is copied to /usr/lib.Joel Granados Moreno2009-05-291-1/+1
|
* We need ipcalc for new s390 installation script.Joel Granados Moreno2009-05-281-0/+1
|
* Install a en_US.UTF-8 locale in the first stage image.Bill Nottingham2009-05-181-0/+2
| | | | We need a UTF-8 locale so that isprint() and wc* do the right thing.
* Update EFI CD booting code in mk-imagesPeter Jones2009-05-071-0/+1
| | | | | Update the efi image creation code to reflect what we've actually been using for two plus months.
* IBM improvements to linuxrc.s390 (#475350)David Cantrell2009-05-061-0/+2
| | | | | IBM has reworked linuxrc.s390 to provide a better initial configuration experience for users.
* Fix image generation so all ELF binaries have their deps included (#495231).Chris Lumens2009-04-131-2/+2
|
* Put e100 (and other) firmware in its own directory if needed (#494778).Chris Lumens2009-04-081-1/+9
|
* Preserve symlinks and only collect deps on ELF executables.David Cantrell2009-04-081-22/+33
| | | | | | | | | The mount and umount commands will have a bunch of symlinks, so if the command we are installing is a symlink, preserve it. Only use -s on install(1) if the command we are installing is an ELF executable. Since there's a check for that, use it to fire off get_dso_deps() for only ELF executables.
* Start with a basic /etc/hosts file (#491634)David Cantrell2009-03-241-0/+1
| | | | | NetworkManager likes having an /etc/hosts file to start with on the system. It doesn't want to "own" the file, only touch and poke at it.
* Place all mount.* commands in /sbinDavid Cantrell2009-03-181-2/+8
| | | | | | | This is required for 'mount -t TYPE SOURCE MOUNTPOINT' to work. NTFS is supported through fuse, so we don't have it listed in /proc/filesystems, but if /sbin/mount.ntfs exists, then we can mount ntfs like any other filesystem.
* Update syslinux path to /usr/share instead of /usr/libJesse Keating2009-03-021-3/+3
| | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Kernel module hid is called usbhidNiels de Vos2009-03-021-1/+1
| | | | | | | | Include module usbhid if this module is available. Module hid does not exist anymore (renamed). On normal RHEL/Fedora-kernels this is not an issue as usbhid is compiled into the kernel. Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com>
* Remove implicit BUILDARCH->BASEARCH conversionWill Woods2009-02-251-2/+2
| | | | | | For simplicity's sake - and because we might actually want to do --arch i686 someday - remove the i.86->i386 conversion added in commit 990bcf14. We're doing that in buildinstall now.
* Translate i?86 into i386 as a base arch.Jesse Keating2009-02-201-2/+2
|
* Remove the qla2xxx line from mk-images again (wwoods).Chris Lumens2009-02-181-3/+0
|
* Fix broken shell syntax from 3bdcd64d2Jesse Keating2009-02-181-0/+1
|
* Fix the indentation in mk-imagesJeroen van Meeuwen (Fedora Unity)2009-02-171-291/+287
| | | | | | | | Conflicts: scripts/mk-images Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Check if ld-linux.so.2 is a link already, before removing itDavid Cantrell2009-02-111-1/+1
| | | | | | | | Patch from Jeroen van Meeuwen (Fedora Unity) <kanarip@fedoraunity.org> NOTE: I would have done a git am, but it kept complaining about the email address format so I'm merging it this way.
* Use modinfo to find out what firmware we need in initrdWill Woods2009-01-281-15/+10
| | | | | | | | | | | We can use 'modinfo -F firmware' to query the modules that are going into the initrd about what firmware they require. Some modules don't (or can't) export that information, so they will still need to be pulled in manually. iwl4965 and iwl5000 don't exist anymore, so they were removed from the case statement; qla2xxx exports modinfo data so it's not necessary to pull its firmware manually.
* btrfs install supportEric Sandeen2009-01-191-1/+1
| | | | | | | | | | | | | | | | | | Now that btrfs is in mainline, let's let anaconda play with it too ;) We still need btrfs.ko in the kernel, and btrfs support in e2fsprogs. I've got the latter patch submitted upstream, and it's in rawhide now. Note that the below is 100% totally untested and may even have typos, my track record with python is not too good, sorry. :) So review would be appreciated.... Updated to address Radek's review, as well as adding the requisite witty (commandline-space-eating) boot option... (And stopped trying to use parted fs identification -- katzj) Signed-off-by: Eric Sandeen <sandeen@redhat.com>
* Look in the right path for kernel module lists.Jesse Keating2009-01-161-5/+5
| | | | | We have to look to where we've expanded the kernel in order to read the module list sets to expand our module list.
* Fix more problems in expandModuleSet, based on a patch from markmc (#480307).Chris Lumens2009-01-161-5/+5
| | | | | | (1) Remove the extra calls to cat. (2) Remove an extra paren on the modules.block line. (3) Use $version instead of $kernel.
* Fix pulling in network modulesJeremy Katz2009-01-161-0/+2
|
* Support mounting NTFS filesystems (#430084)Jeremy Katz2009-01-161-1/+1
| | | | | Based on a patch by Tom Callaway <tcallawa@redhat.com>, this adds supporting for using ntfs-3g (and thus fuse) to mount filesystems.
* Collect DSO deps for NetworkManager plugins.David Cantrell2009-01-081-1/+5
| | | | | | | | | | | 'cp -a' considered harmful. jkeating brought to my attention today that libgio-2.0.so.0 was not getting copying in to the initrd.img which is required by libnm-settings-plugin-ifcfg-rh.so. The problem was caused by my patch to mk-images which changed the plugin instbin line to a 'cp -a' for the *.so files in /usr/$LIBDIR/NetworkManager. We need to use the instbin function so that get_dso_deps() is run on the plugin files and we pick up dependent libraries.
* NetworkManager system settings plugins were renamed, change mk-images.David Cantrell2009-01-081-2/+1
| | | | | | | NetworkManager renamed libnm-settings-plugin-ifcfg-fedora.so to libnm-settings-plugin-ifcfg-rh.so. To possibly/hopefully prevent such failbuilds in the future, just copy in every .so from the /usr/lib[64]/NetworkManager directory to the image.
* Call 'udevadm settle' instead of 'udevsettle'.David Cantrell2008-12-181-1/+0
| | | | | | | | Log file had a message telling us to use 'udevadm settle' instead of 'udevsettle' and that udevsettle support as argv[0] will be removed in the future. This patch changes loader to call 'udevadm settle'. [rawhide]
* Use modules.* files for finding modules of a type rather than modinfoJeremy Katz2008-12-011-3/+11
| | | | | | Use the modules.* files for finding modules of a type rather than the modinfo and then pull in drm modules using it rather than having to explicitly list them. (#446126)
* Fix ld-*.so globbing for glibc-2.9 .Peter Jones2008-11-181-0/+3
| | | | | "ld-*.*.*.so" matches against ld-2.8.90.so but not ld-2.9.so, so the initrd in rawhide doesn't work today. Wooooo.
* Revert "dhclient-script not needed for NetworkManager"Chris Lumens2008-10-221-0/+5
| | | | | | | This reverts commit ff6f05a1a68f93c85170503c4e930b4c2828f2f9. In the case of NM not working quite right, dhclient-script is still needed if you want to run dhclient by hand on tty2.
* ext4dev -> ext4 (esandeen).Chris Lumens2008-10-141-1/+1
|
* Add iwlagn driver firmware (#465508).Chris Lumens2008-10-061-0/+3
|
* Support installs to SD via MMC (#461884)Jeremy Katz2008-09-291-1/+2
| | | | | Add modules for sd/mmc subsystem and support the block device name where we need to do munging given the 'p' separator
* dhclient-script not needed for NetworkManagerDavid Cantrell2008-09-181-5/+0
| | | | | | Do not install dhclient-script, ifconfig, ip, or arping in the initrd.img file. NetworkManager uses nm-dhcp-client.action for its dhclient-script.
* md, lock_nolock, and dm_emc kernel modules no longer exist.Chris Lumens2008-09-151-2/+2
|
* Add mk-images changes forgotten in previous commitHans de Goede2008-09-151-1/+1
| | | | | | | Add mk-images changes forgotten in previous commit: Add support for iSCSI iBFT table to anaconda and use the configured targets in it (#307761), forward port of rhel-5 patch from Martin Sivak, commit id: 96255750791e859dd06004fe1fbcc101a26e9e47
* Helps to get the right soname in the initrd.Chris Lumens2008-09-111-1/+1
|
* Let's try pulling libsqlite into the initrd one more time.Chris Lumens2008-09-101-1/+1
|
* Include NetworkManager and dbus libraries on 64-bit arches (#461632).Chris Lumens2008-09-091-8/+8
|