FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 07-07-2011, 05:32 PM
David Cantrell
 
Default Use xz compression on initrd.img, add back gfx firmware (#703914)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-07-2011, 05:32 PM
David Cantrell
 
Default Use xz compression on initrd.img, add back gfx firmware (#703914)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 04:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org