diff -ur dracut-040.orig/dracut.sh dracut-040/dracut.sh --- dracut-040.orig/dracut.sh 2014-11-21 14:04:57.000000000 +0000 +++ dracut-040/dracut.sh 2014-11-22 13:19:07.066000000 +0000 @@ -163,8 +163,6 @@ --install-optional [LIST] Install the space separated list of files into the initramfs, if they exist. --gzip Compress the generated initramfs using gzip. - This will be done by default, unless another - compression option or --no-compress is passed. --bzip2 Compress the generated initramfs using bzip2. Make sure your kernel has bzip2 decompression support compiled in, otherwise you will not be able to boot. @@ -172,6 +170,8 @@ Make sure your kernel has lzma support compiled in, otherwise you will not be able to boot. --xz Compress the generated initramfs using xz. + This will be done by default, unless another + compression option or --no-compress is passed. Make sure that your kernel has xz support compiled in, otherwise you will not be able to boot. --lzo Compress the generated initramfs using lzop. @@ -817,7 +817,7 @@ fw_dir=${fw_dir//:/ } # handle compression options. -[[ $compress ]] || compress="gzip" +[[ $compress ]] || compress="xz" case $compress in bzip2) compress="bzip2 -9";; lzma) compress="lzma -9 -T0";;