Skip to content

Commit

Permalink
make sure it uses gzip in case COMP not exist in config or not use in…
Browse files Browse the repository at this point in the history
… command
  • Loading branch information
Visone-Selektah committed Dec 5, 2023
1 parent e1d7167 commit 2f97f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkinitramfs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ case "$INITFSCOMP" in
zstd) cmd_exists zstd; comp="zstd -T0 $complevel_zstd" ;;
lz4) cmd_exists lz4; comp="lz4 --favor-decSpeed -lz $complevel_lz4" ;;
none) comp="cat";;
*) msgerr "Initramfs compression $INITFSCOMP not supported!" ; exit 1 ;;
*) comp="gzip" ;;
esac
}

Expand Down

0 comments on commit 2f97f9e

Please sign in to comment.