]> TLD Linux GIT Repositories - packages/dracut.git/commitdiff
- fix compressors patch
authorMarcin Krol <hawk@tld-linux.org>
Sat, 21 Jul 2018 21:10:35 +0000 (21:10 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 21 Jul 2018 21:10:35 +0000 (21:10 +0000)
compressors.patch

index 349f95db45ce0610d1464c6137bdabca745556aa..cf010693edc87f9618a77bd64a0a6a144cc5c273 100644 (file)
@@ -1,6 +1,6 @@
 diff -urpa dracut-048.orig/dracut.sh dracut-048/dracut.sh
 --- dracut-048.orig/dracut.sh  2018-07-06 08:37:51.000000000 +0000
-+++ dracut-048/dracut.sh       2018-07-21 14:40:37.031450159 +0000
++++ dracut-048/dracut.sh       2018-07-21 21:09:03.431060990 +0000
 @@ -195,8 +195,6 @@ Creates initial ramdisk images for prelo
    --install-optional [LIST]  Install the space separated list of files into the
                           initramfs, if they exist.
@@ -19,10 +19,11 @@ diff -urpa dracut-048.orig/dracut.sh dracut-048/dracut.sh
                           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.
-@@ -822,6 +822,7 @@ fi
+@@ -821,7 +821,7 @@ fi
  if ! [[ $compress ]]; then
      # check all known compressors, if none specified
-     for i in pigz gzip lz4 lzop zstd lzma xz lbzip2 bzip2 cat; do
+-    for i in pigz gzip lz4 lzop zstd lzma xz lbzip2 bzip2 cat; do
 +    for i in xz lzma bzip2 lbzip2 gzip pigz lz4 lzop zstd cat; do
          command -v "$i" &>/dev/null || continue
          compress="$i"