[PATCH 1/2] Use xz compression on initrd.img, add back gfx firmware (#703914)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use xz compression on the initrd.img file and bring back the explicitly
removed graphics hardware firmware.  These were eliminated on ppc64 to
get the size of the initrd.img down to 32MB or smaller due to
limitations of that platform.  With xz compression, we can hopefully
bring back the graphics firmware which are necessary for certain
systems.
---
 anaconda.spec.in  |    1 +
 scripts/mk-images |    3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 8ee7b57..4a51db0 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -107,6 +107,7 @@ Requires: device-mapper-libs >= %{dmver}
 Requires: dosfstools
 Requires: e2fsprogs >= %{e2fsver}
 Requires: gzip
+Requires: xz
 Requires: libarchive
 %ifarch %{ix86} x86_64 ia64
 Requires: dmidecode
diff --git a/scripts/mk-images b/scripts/mk-images
index 7ca9838..b8060cb 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -343,7 +343,6 @@ EOF
         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
 
     # clean up leftover cruft
@@ -980,7 +979,7 @@ tail -f /tmp/storage.log
 EOF
 
     rm -f $MBD_FSIMAGE
-    (cd $MBD_DIR; find . |cpio --quiet -c -o) |gzip -9 > $MBD_FSIMAGE
+    (cd $MBD_DIR; find . |cpio --quiet -c -o) |xz -9 > $MBD_FSIMAGE
 
     size=$(du $MBD_FSIMAGE | awk '{ print $1 }')
 
-- 
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux