Skip to content

Commit b2d7561

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(dracut): replace invalid lzo command with lzop for LZO compression
Fixes issue #1999
1 parent 144279a commit b2d7561

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dracut.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ while :; do
805805
--bzip2) compress_l="bzip2" ;;
806806
--lzma) compress_l="lzma" ;;
807807
--xz) compress_l="xz" ;;
808-
--lzo) compress_l="lzo" ;;
808+
--lzo) compress_l="lzop" ;;
809809
--lz4) compress_l="lz4" ;;
810810
--zstd) compress_l="zstd" ;;
811811
--no-compress) _no_compress_l="cat" ;;

man/dracut.conf.5.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Configuration files must have the extension .conf; other extensions are ignored.
8989
Specify additional files to include in the initramfs, separated by spaces,
9090
if they exist.
9191

92-
*compress=*"__{cat|bzip2|lzma|xz|gzip|lzo|lz4|zstd|<compressor [args ...]>}__"::
92+
*compress=*"__{cat|bzip2|lzma|xz|gzip|lzop|lz4|zstd|<compressor [args ...]>}__"::
9393
Compress the generated initramfs using the passed compression program. If
9494
you pass it just the name of a compression program, it will call that
9595
program with known-working arguments. If you pass arguments, it will be

0 commit comments

Comments
 (0)