1 diff -urpa dracut-056.orig/dracut.sh dracut-056/dracut.sh
2 --- dracut-056.orig/dracut.sh 2022-02-18 12:32:53.000000000 +0100
3 +++ dracut-056/dracut.sh 2022-08-28 17:26:54.017178064 +0200
4 @@ -202,8 +202,6 @@ Creates initial ramdisk images for prelo
5 --install-optional [LIST] Install the space separated list of files into the
6 initramfs, if they exist.
7 --gzip Compress the generated initramfs using gzip.
8 - This will be done by default, unless another
9 - compression option or --no-compress is passed.
10 --bzip2 Compress the generated initramfs using bzip2.
11 Make sure your kernel has bzip2 decompression support
12 compiled in, otherwise you will not be able to boot.
13 @@ -211,6 +209,8 @@ Creates initial ramdisk images for prelo
14 Make sure your kernel has lzma support compiled in,
15 otherwise you will not be able to boot.
16 --xz Compress the generated initramfs using xz.
17 + This will be done by default, unless another
18 + compression option or --no-compress is passed.
19 Make sure that your kernel has xz support compiled
20 in, otherwise you will not be able to boot.
21 --lzo Compress the generated initramfs using lzop.
22 @@ -2388,7 +2388,7 @@ fi
24 if ! [[ $compress ]]; then
25 # check all known compressors, if none specified
26 - for i in $DRACUT_COMPRESS_PIGZ $DRACUT_COMPRESS_GZIP $DRACUT_COMPRESS_LZ4 $DRACUT_COMPRESS_LZOP $DRACUT_COMPRESS_ZSTD $DRACUT_COMPRESS_LZMA $DRACUT_COMPRESS_XZ $DRACUT_COMPRESS_LBZIP2 $DRACUT_COMPRESS_BZIP2 $DRACUT_COMPRESS_CAT; do
27 + for i in $DRACUT_COMPRESS_XZ $DRACUT_COMPRESS_LZMA $DRACUT_COMPRESS_BZIP2 $DRACUT_COMPRESS_LBZIP2 $DRACUT_COMPRESS_GZIP $DRACUT_COMPRESS_PIGZ $DRACUT_COMPRESS_LZ4 $DRACUT_COMPRESS_LZOP $DRACUT_COMPRESS_ZSTD $DRACUT_COMPRESS_CAT; do
28 [[ $i != "$DRACUT_COMPRESS_ZSTD" || $DRACUT_KERNEL_RD_ZSTD ]] || continue
29 command -v "$i" &> /dev/null || continue