2006-11-22 20:10:59 +01:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO
|
2012-11-06 14:41:48 +01:00
|
|
|
bool "cpio the root filesystem (for use as an initial RAM filesystem)"
|
2007-04-06 18:36:48 +02:00
|
|
|
help
|
2018-04-01 07:08:42 +02:00
|
|
|
Build a cpio archive of the root filesystem. This is typically
|
|
|
|
used for an initial RAM filesystem that is passed to the
|
|
|
|
kernel by the bootloader.
|
2006-11-22 20:10:59 +01:00
|
|
|
|
2013-11-07 00:12:34 +01:00
|
|
|
if BR2_TARGET_ROOTFS_CPIO
|
|
|
|
|
2022-08-15 13:17:09 +02:00
|
|
|
choice
|
|
|
|
prompt "cpio type"
|
|
|
|
default BR2_TARGET_ROOTFS_CPIO_FULL
|
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_FULL
|
|
|
|
bool "cpio the whole root filesystem"
|
|
|
|
help
|
2022-09-18 21:30:33 +02:00
|
|
|
Build a cpio archive containing the whole root filesystem.
|
2022-08-15 13:17:09 +02:00
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_DRACUT
|
|
|
|
bool "Invoke dracut to make a partial initramfs"
|
|
|
|
select BR2_PACKAGE_HOST_DRACUT
|
|
|
|
help
|
|
|
|
Build an additional initramfs using dracut. This only contains
|
|
|
|
a subset of the rootfs, as determined by the configuration
|
|
|
|
file.
|
|
|
|
This can be useful to create a recovery system, for instance.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
if BR2_TARGET_ROOTFS_CPIO_DRACUT
|
|
|
|
|
2022-09-20 20:37:11 +02:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO_DRACUT_MODULES
|
|
|
|
string "extra dracut modules"
|
|
|
|
help
|
|
|
|
Space-separated list of directories containing dracut modules.
|
|
|
|
|
2022-08-19 19:51:00 +02:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO_DRACUT_CONF_FILES
|
|
|
|
string "dracut configuration files"
|
2022-08-15 13:17:09 +02:00
|
|
|
default "fs/cpio/dracut.conf"
|
|
|
|
help
|
2022-08-19 19:51:00 +02:00
|
|
|
Space-separated list of Dracut configuration files. They
|
|
|
|
determine which parts of the rootfs get included in the
|
|
|
|
cpio image. See:
|
|
|
|
dracut.conf(5)
|
|
|
|
https://github.com/dracutdevs/dracut/blob/master/man/dracut.conf.5.asc
|
2022-08-15 13:17:09 +02:00
|
|
|
|
|
|
|
The default configuration file is suitable for busybox init.
|
|
|
|
It doesn't, however, pivot_root into a full rootfs.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2007-08-12 00:01:13 +02:00
|
|
|
choice
|
2013-11-07 00:12:31 +01:00
|
|
|
prompt "Compression method"
|
|
|
|
default BR2_TARGET_ROOTFS_CPIO_NONE
|
|
|
|
help
|
|
|
|
Select compressor for cpio filesystem of the root filesystem.
|
|
|
|
If you use the cpio archive as an initial RAM filesystem, make
|
|
|
|
sure the kernel contains the decompression algorithm selected
|
|
|
|
here.
|
2007-08-12 00:01:13 +02:00
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_NONE
|
2013-11-07 00:12:31 +01:00
|
|
|
bool "no compression"
|
|
|
|
help
|
|
|
|
Do not compress the cpio filesystem.
|
2007-08-12 00:01:13 +02:00
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_GZIP
|
2013-11-07 00:12:31 +01:00
|
|
|
bool "gzip"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with gzip.
|
2007-08-12 00:01:13 +02:00
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_BZIP2
|
2013-11-07 00:12:31 +01:00
|
|
|
bool "bzip2"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with bzip2.
|
2007-08-12 00:01:13 +02:00
|
|
|
|
2017-10-13 21:16:53 +02:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO_LZ4
|
|
|
|
bool "lz4"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with lz4.
|
|
|
|
|
2007-08-12 00:01:13 +02:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO_LZMA
|
2013-11-07 00:12:31 +01:00
|
|
|
bool "lzma"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with lzma.
|
2013-01-22 02:03:43 +01:00
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_LZO
|
|
|
|
bool "lzo"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with lzop.
|
|
|
|
|
|
|
|
config BR2_TARGET_ROOTFS_CPIO_XZ
|
|
|
|
bool "xz"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with xz.
|
2007-08-12 00:01:13 +02:00
|
|
|
|
2021-01-10 20:05:59 +01:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO_ZSTD
|
|
|
|
bool "zstd"
|
|
|
|
help
|
|
|
|
Do compress the cpio filesystem with zstd.
|
|
|
|
|
2007-08-12 00:01:13 +02:00
|
|
|
endchoice
|
|
|
|
|
2013-11-07 00:12:34 +01:00
|
|
|
config BR2_TARGET_ROOTFS_CPIO_UIMAGE
|
|
|
|
bool "Create U-Boot image of the root filesystem"
|
|
|
|
select BR2_PACKAGE_HOST_UBOOT_TOOLS
|
|
|
|
help
|
|
|
|
Add a U-Boot header to the cpio root filesystem. This allows
|
|
|
|
the initramfs to be loaded with the bootm command in U-Boot.
|
|
|
|
|
|
|
|
The U-Boot image will be called rootfs.cpio.uboot
|
|
|
|
|
|
|
|
endif # BR2_TARGET_ROOTFS_CPIO
|