summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2013-02-12 00:31:24 -0500
committerWill Woods <wwoods@redhat.com>2013-02-22 18:56:20 -0500
commit9f141e324beb1f34c6522aa5a8c05fb3f8d0befa (patch)
tree2d108200e8de9f744c010d5126c704e104202cc7
parentbbf9b612ac613813e085a090115fa7b2cc4ae4dc (diff)
downloadanaconda-9f141e324beb1f34c6522aa5a8c05fb3f8d0befa.tar.gz
anaconda-9f141e324beb1f34c6522aa5a8c05fb3f8d0befa.tar.xz
anaconda-9f141e324beb1f34c6522aa5a8c05fb3f8d0befa.zip
Add pigz to initrd.img
Drastically speeds up compression of the initramfs for modern multicore systems, doesn't slow anything down if you're on a single core machine (like a virt guest), and only adds ~20kb to the image size. Good deal!
-rwxr-xr-xdracut/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh
index b9997f8aa..d196963c5 100755
--- a/dracut/module-setup.sh
+++ b/dracut/module-setup.sh
@@ -16,7 +16,7 @@ depends() {
install() {
# binaries we want in initramfs
- dracut_install eject
+ dracut_install eject -o pigz
# anaconda
inst "$moddir/anaconda-lib.sh" "/lib/anaconda-lib.sh"
inst_hook cmdline 25 "$moddir/parse-anaconda-options.sh"