Skip to content

Commit

Permalink
fix(dracut): replace invalid lzo command with lzop for LZO compression
Browse files Browse the repository at this point in the history
Fixes issue #1999
  • Loading branch information
aafeijoo-suse authored and johannbg committed Oct 21, 2022
1 parent 144279a commit b2d7561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dracut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" ;;
Expand Down
2 changes: 1 addition & 1 deletion man/dracut.conf.5.asc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2d7561

Please sign in to comment.