]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(dracut): replace invalid lzo command with lzop for LZO compression
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 10 Oct 2022 08:25:33 +0000 (10:25 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 21 Oct 2022 23:41:10 +0000 (23:41 +0000)
Fixes issue #1999

dracut.sh
man/dracut.conf.5.asc

index d3e1df3955be6ba49ac549eb9a22137243fce6d2..78801a4269795ded8134a8aa422603c8c7160328 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -805,7 +805,7 @@ while :; do
         --bzip2) compress_l="bzip2" ;;
         --lzma) compress_l="lzma" ;;
         --xz) compress_l="xz" ;;
-        --lzo) compress_l="lzo" ;;
+        --lzo) compress_l="lzop" ;;
         --lz4) compress_l="lz4" ;;
         --zstd) compress_l="zstd" ;;
         --no-compress) _no_compress_l="cat" ;;
index 39dfd34fb3e95cef6a092f31abe4b68c3b02c666..45192fa0c406d239c3e4d2588c22c83c32217ef3 100644 (file)
@@ -89,7 +89,7 @@ Configuration files must have the extension .conf; other extensions are ignored.
     Specify additional files to include in the initramfs, separated by spaces,
     if they exist.
 
-*compress=*"__{cat|bzip2|lzma|xz|gzip|lzo|lz4|zstd|<compressor [args ...]>}__"::
+*compress=*"__{cat|bzip2|lzma|xz|gzip|lzop|lz4|zstd|<compressor [args ...]>}__"::
     Compress the generated initramfs using the passed compression program. If
     you pass it just the name of a compression program, it will call that
     program with known-working arguments. If you pass arguments, it will be