From b2d7561b98d08c7e4018aa22dc36dc1242e50f09 Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Mon, 10 Oct 2022 10:25:33 +0200 Subject: [PATCH] fix(dracut): replace invalid lzo command with lzop for LZO compression Fixes issue #1999 --- dracut.sh | 2 +- man/dracut.conf.5.asc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut.sh b/dracut.sh index d3e1df395..78801a426 100755 --- 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" ;; diff --git a/man/dracut.conf.5.asc b/man/dracut.conf.5.asc index 39dfd34fb..45192fa0c 100644 --- a/man/dracut.conf.5.asc +++ b/man/dracut.conf.5.asc @@ -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|}__":: +*compress=*"__{cat|bzip2|lzma|xz|gzip|lzop|lz4|zstd|}__":: 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 -- 2.47.3