^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Configuration for initramfs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config INITRAMFS_SOURCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) string "Initramfs source file(s)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) default ""
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) This can be either a single cpio archive with a .cpio suffix or a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) space-separated list of directories and files for building the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) initramfs image. A cpio archive should contain a filesystem archive
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) to be used as an initramfs image. Directories should contain a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) filesystem layout to be included in the initramfs image. Files
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) should contain entries according to the format described by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) "usr/gen_init_cpio" program in the kernel tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) When multiple directories and files are specified then the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) initramfs image will be the aggregate of all of them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) See <file:Documentation/driver-api/early-userspace/early_userspace_support.rst> for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) If you are not sure, leave it blank.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) config INITRAMFS_FORCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) bool "Ignore the initramfs passed by the bootloader"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) depends on CMDLINE_EXTEND || CMDLINE_FORCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) This option causes the kernel to ignore the initramfs image
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) (or initrd image) passed to it by the bootloader. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) analogous to CMDLINE_FORCE, which is found on some architectures,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) and is useful if you cannot or don't want to change the image
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) your bootloader passes to the kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) config INITRAMFS_ROOT_UID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) int "User ID to map to 0 (user root)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) depends on INITRAMFS_SOURCE!=""
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) default "0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) If INITRAMFS_SOURCE points to a directory, files owned by this UID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) (-1 = current user) will be owned by root in the resulting image.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) If you are not sure, leave it set to "0".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) config INITRAMFS_ROOT_GID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) int "Group ID to map to 0 (group root)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) depends on INITRAMFS_SOURCE!=""
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) default "0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) If INITRAMFS_SOURCE points to a directory, files owned by this GID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) (-1 = current group) will be owned by root in the resulting image.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) If you are not sure, leave it set to "0".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) config RD_GZIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) bool "Support initial ramdisk/ramfs compressed using gzip"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) select DECOMPRESS_GZIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Support loading of a gzip encoded initial ramdisk or cpio buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) config RD_BZIP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) bool "Support initial ramdisk/ramfs compressed using bzip2"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) select DECOMPRESS_BZIP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) Support loading of a bzip2 encoded initial ramdisk or cpio buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) config RD_LZMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) bool "Support initial ramdisk/ramfs compressed using LZMA"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) select DECOMPRESS_LZMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Support loading of a LZMA encoded initial ramdisk or cpio buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) config RD_XZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) bool "Support initial ramdisk/ramfs compressed using XZ"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) select DECOMPRESS_XZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Support loading of a XZ encoded initial ramdisk or cpio buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) config RD_LZO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) bool "Support initial ramdisk/ramfs compressed using LZO"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) select DECOMPRESS_LZO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) Support loading of a LZO encoded initial ramdisk or cpio buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) config RD_LZ4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) bool "Support initial ramdisk/ramfs compressed using LZ4"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) select DECOMPRESS_LZ4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Support loading of a LZ4 encoded initial ramdisk or cpio buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) config RD_ZSTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) bool "Support initial ramdisk/ramfs compressed using ZSTD"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) depends on BLK_DEV_INITRD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) select DECOMPRESS_ZSTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) Support loading of a ZSTD encoded initial ramdisk or cpio buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) prompt "Built-in initramfs compression mode"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) depends on INITRAMFS_SOURCE != ""
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) This option allows you to decide by which algorithm the builtin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) initramfs will be compressed. Several compression algorithms are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) available, which differ in efficiency, compression and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) decompression speed. Compression speed is only relevant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) when building a kernel. Decompression speed is relevant at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) each boot. Also the memory usage during decompression may become
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) relevant on memory constrained systems. This is usually based on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) dictionary size of the algorithm with algorithms like XZ and LZMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) featuring large dictionary sizes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) High compression options are mostly useful for users who are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) low on RAM, since it reduces the memory consumption during
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) boot.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Keep in mind that your build system needs to provide the appropriate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) compression tool to compress the generated initram cpio file for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) embedding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) If in doubt, select 'None'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) config INITRAMFS_COMPRESSION_GZIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) bool "Gzip"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) depends on RD_GZIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) Use the old and well tested gzip compression algorithm. Gzip provides
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) a good balance between compression ratio and decompression speed and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) has a reasonable compression speed. It is also more likely to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) supported by your build system as the gzip tool is present by default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) on most distros.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) config INITRAMFS_COMPRESSION_BZIP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) bool "Bzip2"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) depends on RD_BZIP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) It's compression ratio and speed is intermediate. Decompression speed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) is slowest among the choices. The initramfs size is about 10% smaller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) with bzip2, in comparison to gzip. Bzip2 uses a large amount of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) memory. For modern kernels you will need at least 8MB RAM or more for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) booting.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) If you choose this, keep in mind that you need to have the bzip2 tool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) available to be able to compress the initram.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) config INITRAMFS_COMPRESSION_LZMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) bool "LZMA"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) depends on RD_LZMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) This algorithm's compression ratio is best but has a large dictionary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) size which might cause issues in memory constrained systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) Decompression speed is between the other choices. Compression is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) slowest. The initramfs size is about 33% smaller with LZMA in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) comparison to gzip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) If you choose this, keep in mind that you may need to install the xz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) or lzma tools to be able to compress the initram.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) config INITRAMFS_COMPRESSION_XZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) bool "XZ"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) depends on RD_XZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) XZ uses the LZMA2 algorithm and has a large dictionary which may cause
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) problems on memory constrained systems. The initramfs size is about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 30% smaller with XZ in comparison to gzip. Decompression speed is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) better than that of bzip2 but worse than gzip and LZO. Compression is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) slow.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) If you choose this, keep in mind that you may need to install the xz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) tool to be able to compress the initram.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) config INITRAMFS_COMPRESSION_LZO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) bool "LZO"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) depends on RD_LZO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) It's compression ratio is the second poorest amongst the choices. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) kernel size is about 10% bigger than gzip. Despite that, it's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) decompression speed is the second fastest and it's compression speed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) is quite fast too.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) If you choose this, keep in mind that you may need to install the lzop
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) tool to be able to compress the initram.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) config INITRAMFS_COMPRESSION_LZ4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) bool "LZ4"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) depends on RD_LZ4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) It's compression ratio is the poorest amongst the choices. The kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) size is about 15% bigger than gzip; however its decompression speed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) is the fastest.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) If you choose this, keep in mind that most distros don't provide lz4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) by default which could cause a build failure.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) config INITRAMFS_COMPRESSION_ZSTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) bool "ZSTD"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) depends on RD_ZSTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) ZSTD is a compression algorithm targeting intermediate compression
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) with fast decompression speed. It will compress better than GZIP and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) decompress around the same speed as LZO, but slower than LZ4.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) If you choose this, keep in mind that you may need to install the zstd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) tool to be able to compress the initram.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) config INITRAMFS_COMPRESSION_NONE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) bool "None"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) Do not compress the built-in initramfs at all. This may sound wasteful
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) in space, but, you should be aware that the built-in initramfs will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) compressed at a later stage anyways along with the rest of the kernel,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) on those architectures that support this. However, not compressing the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) initramfs may lead to slightly higher memory consumption during a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) short time at boot, while both the cpio image and the unpacked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) filesystem image will be present in memory simultaneously
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) endchoice