Remove some kernel modules and firmware files so the ppc64 ramdisk.image.gz file is 32MB or less. The core issue here is the TFTP client code in on most (or all) ppc64 systems cannot transfer a file larger than 32MB. NOTE: This is not an ideal solution to a firmware bug. ppc64 systems from IBM are incapable of pulling over a file larger than 32MB via TFTP, which prevents network booting on ppc64 when the install image grows beyond that size. These removals are a temporary workaround until IBM can fix the firmware on affected systems. The kernel modules and firmware selected for removal is based on the assumption that most ppc64 users will not be using these devices during install time (or ever). If you do use devices that require these files during installation, we urge you to seek another architecture or ask that you request a firmware fix from IBM. --- scripts/mk-images | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/scripts/mk-images b/scripts/mk-images index d05e9bc..3f27f96 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -346,6 +346,15 @@ EOF rm -f $MMB_DIR/lib/modules/*/modules.*map rm -f $MMB_DIR/lib/modules/*/{build,source} + # Remove some modules and firmware on ppc64 so the ramdisk image + # is <= 32MB (BZ #675685) + if [ "$BUILDARCH" = "ppc64" ]; then + for subdir in firewire pcmcia sound wireless ; do + find -H $MMB_DIR/lib/modules -name $subdir | xargs rm -rf + done + rm -rf $MMB_DIR/lib/firmware/{matrox,r128,radeon,zd1211} + fi + # create the pci.ids, from modules.alias and the X driver aliases awk '!/^(\t\t|#)/ { print ;if ($0 == "ffff Illegal Vendor ID") nextfile; }' < $PCIIDS | \ $TRIMPCIIDS $MMB_DIR/lib/modules/*/modules.alias $XDRIVERS/* > ../pci.ids -- 1.7.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list