diff --git a/dracut.sh b/dracut.sh index a56bc13d..98fc491e 100755 --- a/dracut.sh +++ b/dracut.sh @@ -782,7 +782,7 @@ case $compress in xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";; gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";; lzo) compress="lzop -9";; - lz4) compress="lz4 -9";; + lz4) compress="lz4 -l -9";; esac if [[ $_no_compress_l = "cat" ]]; then compress="cat" diff --git a/lsinitrd.sh b/lsinitrd.sh index 2c58f844..8dc90323 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -172,7 +172,7 @@ case $bin in $'\x71\xc7'*|070701) CAT="cat --" ;; - $'\x04\x22'*) + $'\x02\x21'*) CAT="lz4 -d -c";; *) CAT="xzcat --";