Skip to content

Commit ec72c66

Browse files
Andi Kleentorvalds
Andi Kleen
authored andcommittedDec 13, 2014
usr/Kconfig: make initrd compression algorithm selection not expert
The kernel has support for (nearly) every compression algorithm known to man, each to handle some particular microscopic niche. Unfortunately all of these always get compiled in if you want to support INITRDs, and can be only disabled when CONFIG_EXPERT is set. I don't see why I need to set EXPERT just to properly configure the initrd compression algorithms, and not always include every possible algorithm Usually the initrd is just compressed with gzip anyways, at least that's true on all distributions I use. Remove the dependencies for initrd compression on CONFIG_EXPERT. Make the various options just default y, which should be good enough to not break any previous configuration. Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 6adc4a2 commit ec72c66

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed
 

‎usr/Kconfig

+12-12
Original file line numberDiff line numberDiff line change
@@ -46,53 +46,53 @@ config INITRAMFS_ROOT_GID
4646
If you are not sure, leave it set to "0".
4747

4848
config RD_GZIP
49-
bool "Support initial ramdisks compressed using gzip" if EXPERT
50-
default y
49+
bool "Support initial ramdisks compressed using gzip"
5150
depends on BLK_DEV_INITRD
51+
default y
5252
select DECOMPRESS_GZIP
5353
help
5454
Support loading of a gzip encoded initial ramdisk or cpio buffer.
5555
If unsure, say Y.
5656

5757
config RD_BZIP2
58-
bool "Support initial ramdisks compressed using bzip2" if EXPERT
59-
default !EXPERT
58+
bool "Support initial ramdisks compressed using bzip2"
59+
default y
6060
depends on BLK_DEV_INITRD
6161
select DECOMPRESS_BZIP2
6262
help
6363
Support loading of a bzip2 encoded initial ramdisk or cpio buffer
6464
If unsure, say N.
6565

6666
config RD_LZMA
67-
bool "Support initial ramdisks compressed using LZMA" if EXPERT
68-
default !EXPERT
67+
bool "Support initial ramdisks compressed using LZMA"
68+
default y
6969
depends on BLK_DEV_INITRD
7070
select DECOMPRESS_LZMA
7171
help
7272
Support loading of a LZMA encoded initial ramdisk or cpio buffer
7373
If unsure, say N.
7474

7575
config RD_XZ
76-
bool "Support initial ramdisks compressed using XZ" if EXPERT
77-
default !EXPERT
76+
bool "Support initial ramdisks compressed using XZ"
7877
depends on BLK_DEV_INITRD
78+
default y
7979
select DECOMPRESS_XZ
8080
help
8181
Support loading of a XZ encoded initial ramdisk or cpio buffer.
8282
If unsure, say N.
8383

8484
config RD_LZO
85-
bool "Support initial ramdisks compressed using LZO" if EXPERT
86-
default !EXPERT
85+
bool "Support initial ramdisks compressed using LZO"
86+
default y
8787
depends on BLK_DEV_INITRD
8888
select DECOMPRESS_LZO
8989
help
9090
Support loading of a LZO encoded initial ramdisk or cpio buffer
9191
If unsure, say N.
9292

9393
config RD_LZ4
94-
bool "Support initial ramdisks compressed using LZ4" if EXPERT
95-
default !EXPERT
94+
bool "Support initial ramdisks compressed using LZ4"
95+
default y
9696
depends on BLK_DEV_INITRD
9797
select DECOMPRESS_LZ4
9898
help

0 commit comments

Comments
 (0)
Please sign in to comment.