Skip to content

Commit

Permalink
initramfs: make initramfs compression choice non-optional
Browse files Browse the repository at this point in the history
Currently, the choice of the initramfs compression mode is too complex
because users are allowed to not specify the compression mode at all.

I think it makes more sense to require users to choose the compression
mode explicitly, and delete the fallback defaults of INITRAMFS_COMPRESSION.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Jan 14, 2020
1 parent ddd09bc commit f26661e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions usr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ config RD_LZ4

choice
prompt "Built-in initramfs compression mode"
optional
help
This option allows you to decide by which algorithm the builtin
initramfs will be compressed. Several compression algorithms are
Expand Down Expand Up @@ -218,10 +217,3 @@ config INITRAMFS_COMPRESSION
default ".xz" if INITRAMFS_COMPRESSION_XZ
default ".lzo" if INITRAMFS_COMPRESSION_LZO
default ".lz4" if INITRAMFS_COMPRESSION_LZ4
default ".gz" if RD_GZIP
default ".lz4" if RD_LZ4
default ".lzo" if RD_LZO
default ".xz" if RD_XZ
default ".lzma" if RD_LZMA
default ".bz2" if RD_BZIP2
default ""

0 comments on commit f26661e

Please sign in to comment.