Files
buildroot/fs/xfs/Config.in
Julien Olivain ffaccc4ccc fs/xfs: add support for generating a xfs image
mkfs.xfs is able to populate a filesystem from a directory since
upstream commit [1], included since v6.17.

With this option, it is now possible to create XFS rootfs in
Buildroot. This commit adds this new feature.

[1] https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=8a4ea72724930cfe262ccda03028264e1a81b145

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2026-03-13 23:30:02 +01:00

35 lines
983 B
Plaintext

config BR2_TARGET_ROOTFS_XFS
bool "xfs root filesystem"
select BR2_PACKAGE_HOST_XFSPROGS
help
Build a xfs root filesystem. If you enable this option, you
probably want to enable the xfsprogs package too.
if BR2_TARGET_ROOTFS_XFS
config BR2_TARGET_ROOTFS_XFS_LABEL
string "filesystem label"
default "rootfs"
config BR2_TARGET_ROOTFS_XFS_SIZE
string "exact size"
default "300M"
help
The size of the filesystem image. This size is passed to the
"truncate -s", so this option recognizes unit suffixes such
as K,M,G (see the manual page truncate(1)). Note the XFS
minimal filesystem size is 300M.
config BR2_TARGET_ROOTFS_XFS_MKFS_OPTIONS
string "additional mkfs.xfs options"
help
Specify a space-separated list of mkfs.xfs options.
For more information about the mke2fs options, see the
manual page mkfs.xfs(8).
For more information about the XFS features which can be
set, see also the manual page xfs(5).
endif # BR2_TARGET_ROOTFS_XFS