92 lines
2.4 KiB
Plaintext
92 lines
2.4 KiB
Plaintext
config BR2_TARGET_ROOTFS_EROFS
|
|
bool "erofs root filesystem"
|
|
select BR2_PACKAGE_HOST_EROFS_UTILS
|
|
help
|
|
Build a EROFS root filesystem.
|
|
|
|
if BR2_TARGET_ROOTFS_EROFS
|
|
|
|
choice
|
|
prompt "Compression algorithm"
|
|
default BR2_TARGET_ROOTFS_EROFS_LZ4HC
|
|
help
|
|
Select the EROFS compression algorithm to use.
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_NONE
|
|
bool "no compression"
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_LZ4
|
|
bool "lz4"
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_LZ4HC
|
|
bool "lz4hc"
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_LZMA
|
|
bool "lzma"
|
|
|
|
endchoice
|
|
|
|
if BR2_TARGET_ROOTFS_EROFS_LZ4HC
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_LZ4HC_LEVEL
|
|
int "lz4hc compression level"
|
|
default 9
|
|
range 1 12
|
|
help
|
|
Specify the compression level for lz4hc compression.
|
|
|
|
endif # BR2_TARGET_ROOTFS_EROFS_LZ4HC
|
|
|
|
if BR2_TARGET_ROOTFS_EROFS_LZMA
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_LZMA_LEVEL
|
|
int "lzma compression level"
|
|
default 6
|
|
range 0 109
|
|
help
|
|
Specify the compression level for lzma compression.
|
|
Values from 0 to 9 are used for the standard compression,
|
|
values from 100 to 109 are used for the extreme compression.
|
|
|
|
endif # BR2_TARGET_ROOTFS_EROFS_LZMA
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_DEDUPE
|
|
bool "enable data deduplication"
|
|
depends on !BR2_TARGET_ROOTFS_EROFS_NONE
|
|
help
|
|
Enable global compressed data deduplication to reduce FS image
|
|
size. Introduced in Linux 6.1.
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_FRAGMENTS
|
|
bool "enable fragments packing"
|
|
help
|
|
Pack the tail part (pcluster) of compressed files, or entire
|
|
files, into a special inode for smaller image size.
|
|
Introduced in Linux 6.1.
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_ALL_FRAGMENTS
|
|
bool "enable fragments packing"
|
|
help
|
|
Forcely record the whole files into a special inode for
|
|
better compression. files, into a special inode for smaller
|
|
image size. Introduced in Linux 6.1.
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_ZTAILPACKING
|
|
bool "enable ztailpacking"
|
|
help
|
|
Pack the tail part (pcluster) of compressed files into its
|
|
metadata to save more space and the tail part I/O. Introduced
|
|
in Linux 5.17.
|
|
|
|
config BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE
|
|
int "pcluster size"
|
|
default 0
|
|
help
|
|
Specify the maximum size of physical cluster in bytes, as a
|
|
multiple of 4KiB, for the big pcluster feature in order to
|
|
get much better compression ratios (thus better sequential
|
|
read performance for common storage devices), which has been
|
|
introduced since Linux 5.13.
|
|
|
|
endif # BR2_TARGET_ROOTFS_EROFS
|