summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix indentation on upd-instrootJeroen van Meeuwen (Fedora Unity)2009-02-171-116/+120
| | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* 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>
* Use brandpkgname for the efi art tooJeremy Katz2009-02-171-7/+1
|
* Let's use the product string for a brandpackage name.Jeroen van Meeuwen2009-02-172-1/+5
| | | | | | | | | | | | | | | Caveat #1: If the brand package doesn't exist, buildinstall will fail Caveat #2: If the brand package has uppercase characters in it's name, it needs to provide ${brand}-{release,logos} in lowercase or yum thinks the package doesn't exist and buildinstall will fail An additional patch may be necessary to: 1) check for ${brand}-{release,logos} 2) if those do not exist, fall back by setting the brand to "generic" This will need to happen *after* the YUM configuration file has been written, but before upd-instroot is executed.
* Fix indentation in mk-images.efiJeroen van Meeuwen (Fedora Unity)2009-02-161-52/+54
| | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Fix indentation in buildinstall scriptJeroen van Meeuwen (Fedora Unity)2009-02-161-57/+56
| | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Require pyparted >= 2.0.0David Cantrell2009-02-121-1/+2
| | | | | Require pyparted >= 2.0.0 and be sure to save the _pedmodule.so and parted Python modules.
* Hardlink the initrd.img since we're linking the vmlinuz as well.Jesse Keating2009-02-111-1/+1
|
* 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.
* Rewrite iscsi code using libiscsiHans de Goede2009-02-111-0/+2
| | | | | | | | | | | | | | | | | | | This patch replaces the iscsi.py code with new code using libiscsi, getting rid of the awefull configfile mangling to set auth info hack, and in general making it much cleaner. Fixes: -Report error when we cannot add a disk instead of silently failing (461830) -Report error when trying to use iscsi from kickstart without having an iscsiname directive first (463156) -Better feedback while scanning iscsi disks -Make ibft work with chap and 2-way chap -Make ibft configured disks available for upgrades and in rescue mode -Make ibft boot work even when iscsi-initiator-utils is installed after the kernel in the transaction Note: libiscsi is available in Fedora now
* Fix systemtime setting during installation (#6175, #461526).Radek Vykydal2009-02-031-1/+1
| | | | | | | Moves setuptime step into earliear stage to create files with correct timestamp (prevent future time skew after boot). Includes /usr/share/zoneinfo tree in stage 2, it is needed when hw clock is in localtime (for hwclock --hctosys call).
* 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-192-2/+5
| | | | | | | | | | | | | | | | | | 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>
* Add support for Maithili and Nepali (#473209).Chris Lumens2009-01-191-2/+5
|
* Cracklib moved locations, account for this in our keepfiles.Jesse Keating2009-01-161-1/+2
| | | | | | | | Cracklib is now a non-compiled python module, as well as a second compiled module. Kinda weird, but with both sets of files it works. Signed-off-by: Chris Lumens <clumens@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-162-2/+4
| | | | | Based on a patch by Tom Callaway <tcallawa@redhat.com>, this adds supporting for using ntfs-3g (and thus fuse) to mount filesystems.
* dejavu fonts changed package names, pick up new names.Jesse Keating2009-01-161-1/+2
| | | | | | | | These (dejavu) fonts are likely done changing names, but more are likely to change. All this is being worked on in rawhide right now. But for alpha we want decent fonts. Signed-off-by: Chris Lumens <clumens@redhat.com>
* TightVNC is now the default VNC server in Fedora (#480308).Chris Lumens2009-01-161-1/+2
|
* 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.
* Die on errors from upd-instroot/mk-images rather than continuing onJeremy Katz2009-01-061-2/+11
|
* Various packaging fixed from review (#225246)Hans de Goede2009-01-054-12/+11
| | | | Various packaging fixed from review (#225246)
* Remove libdhcp* from scripts/upd-instrootDavid Cantrell2008-12-221-1/+1
|
* 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.
* Include cracklib .mo files and look up strings in the right domain.Chris Lumens2008-11-111-1/+2
|
* Provide sample punch card reader script for s390x (#462953)David Cantrell2008-10-311-0/+1
| | | | | | | IBM would like us to provide mainframe users with a sample punchcard reader script along with the other boot files on s390x. I'd just like to say that again: punch cards.
* Remove cio_ignore functionality for s390xDavid Cantrell2008-10-311-1/+0
| | | | | | | We've backed this out on RHEL 5.3 for now because it was far more complex than IBM had told us, so it's back to the drawing board for this one. Keeping rawhide in sync with what's happening on the RHEL side with this feature.
* Update font list (#462295).Chris Lumens2008-10-231-20/+12
|
* 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.
* Update several font package names that we were missing.Chris Lumens2008-10-171-3/+3
|
* Enable CCW devices used for installation (#253075)David Cantrell2008-10-161-0/+1
| | | | | | | | | | | | IBM had requested that on s390x we add the cio_ignore=all parameter to the default boot file. Well, cio_ignore all except for the 3270 terminal. The motivation for this change was to decrease device discovery time on systems with thousands of subchannels. The fix was only part of the solution. When you use cio_ignore to disable everything, you need to explicitly free the device from cio_ignore and then enable it using the magic of /sbin/chccwdev. This patch adds the un-ignore capability to linuxrc.s390.
* I don't know what trq.map.trq-map is, but let's not include it.Chris Lumens2008-10-161-1/+1
|
* ext4dev -> ext4 (esandeen).Chris Lumens2008-10-141-1/+1
|
* If we don't have a translation for a lang name, just use the English (#466515)Jeremy Katz2008-10-101-0/+4
|
* Add iwlagn driver firmware (#465508).Chris Lumens2008-10-061-0/+3
|
* The Chinese font package has changed names (#465290).Chris Lumens2008-10-061-2/+2
|
* lohit-fonts-malayam has been replaced by smc-fonts-meera (#456449).Chris Lumens2008-10-031-3/+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
* Fix lang-name generation + fix traceback with LANG=CJeremy Katz2008-09-291-4/+9
| | | | | | | | | | Generating lang-name depended on old behavior of rhpl.translate for looking in po/ for the translation files. The regular gettext module doesn't do this which means we don't get translated language names unless you already had anaconda installed. So use gettext.GNUTranslation to directly open the .mo file For LANG=C, we need to ensure that the output charset is set to UTF-8
* Revert "Fix lang-name generation"David Cantrell2008-09-201-8/+4
| | | | | | | | | | | | | | | | | This reverts commit a6ba02f4099c40f3dd2c2783cf0bac2c1900ade4. This currently breaks lang-names generation. We see this in the build.log in koji: PYTHONPATH="." python2.5 scripts/getlangnames.py > lang-names Traceback (most recent call last): File "scripts/getlangnames.py", line 37, in <module> names[langs.localeInfo[k][0]] = cat.lgettext(langs.localeInfo[k][0]) File "/usr/lib/python2.5/gettext.py", line 368, in lgettext return tmsg.encode(locale.getpreferredencoding()) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128) I'm just a simple back country hyperchicken, not a Unicode expert.
* Fix lang-name generationJeremy Katz2008-09-191-4/+8
| | | | | | | | Generating lang-name depended on old behavior of rhpl.translate for looking in po/ for the translation files. The regular gettext module doesn't do this which means we don't get translated language names unless you already had anaconda installed. So use gettext.GNUTranslation to directly open the .mo file
* 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.
* Use the new Korean font package (#462295).Chris Lumens2008-09-151-3/+4
|
* 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