X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=compressors.patch;fp=compressors.patch;h=2a997b0c972b3151a94954f900c07afd75de62a1;hb=809725e53f690887639ce1571d5d123837d3a7e4;hp=0000000000000000000000000000000000000000;hpb=e107a07b5f4e0f3216f319667b75a3e0de640246;p=packages%2Fdracut.git diff --git a/compressors.patch b/compressors.patch new file mode 100644 index 0000000..2a997b0 --- /dev/null +++ b/compressors.patch @@ -0,0 +1,30 @@ +diff -ur dracut-044.orig/dracut.sh dracut-044/dracut.sh +--- dracut-044.orig/dracut.sh 2015-11-30 12:50:20.000000000 +0000 ++++ dracut-044/dracut.sh 2015-11-30 12:59:15.110305000 +0000 +@@ -173,8 +173,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. +@@ -182,6 +180,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. +@@ -769,7 +769,7 @@ + + if ! [[ $compress ]]; then + # check all known compressors, if none specified +- for i in pigz gzip lz4 lzop lzma xz lbzip2 bzip2 cat; do ++ for i in xz lzma bzip2 lbzip2 gzip pigz lz4 lzop cat; do + command -v "$i" &>/dev/null || continue + compress="$i" + break