Lines 100-105
config RD_LZ4
Link Here
|
100 |
Support loading of a LZ4 encoded initial ramdisk or cpio buffer |
100 |
Support loading of a LZ4 encoded initial ramdisk or cpio buffer |
101 |
If unsure, say N. |
101 |
If unsure, say N. |
102 |
|
102 |
|
|
|
103 |
config RD_ZSTD |
104 |
bool "Support initial ramdisk/ramfs compressed using ZSTD" |
105 |
default y |
106 |
depends on BLK_DEV_INITRD |
107 |
select DECOMPRESS_ZSTD |
108 |
help |
109 |
Support loading of a ZSTD encoded initial ramdisk or cpio buffer. |
110 |
If unsure, say N. |
111 |
|
103 |
choice |
112 |
choice |
104 |
prompt "Built-in initramfs compression mode" |
113 |
prompt "Built-in initramfs compression mode" |
105 |
depends on INITRAMFS_SOURCE != "" |
114 |
depends on INITRAMFS_SOURCE != "" |
Lines 207-210
config INITRAMFS_COMPRESSION_LZ4
Link Here
|
207 |
If you choose this, keep in mind that most distros don't provide lz4 |
216 |
If you choose this, keep in mind that most distros don't provide lz4 |
208 |
by default which could cause a build failure. |
217 |
by default which could cause a build failure. |
209 |
|
218 |
|
|
|
219 |
config INITRAMFS_COMPRESSION_ZSTD |
220 |
bool "ZSTD" |
221 |
depends on RD_ZSTD |
222 |
help |
223 |
ZSTD is a compression algorithm targeting intermediate compression |
224 |
with fast decompression speed. It will compress better than GZIP and |
225 |
decompress around the same speed as LZO, but slower than LZ4. |
226 |
|
227 |
If you choose this, keep in mind that you may need to install the zstd |
228 |
tool to be able to compress the initram. |
229 |
|
210 |
endchoice |
230 |
endchoice |