mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
This patch makes it possible to format the rootfs using btrfs. It
introduces the option; BR2_TARGET_ROOTFS_BTRFS.
When selected, the user is able to specify the filesystem size, label,
options, and node and sector sizes. The new files are based on
fs/ext2/{Config.in,ext2.mk}
Signed-off-by: Robert J. Heywood <robert.heywood@codethink.co.uk>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas:
- fix issues pointed by Yann (duplicated empty line, missing quotes
around default values for string options)
- use -f option so that we don't have to remove the image file before
creating it again
- use the --byte-count option to set the filesystem size, which
avoids the need for doing a "truncate -s"
- remove the possible explanation of a mkfs.btrfs error. Indeed,
mkfs.btrfs automatically extends the size of the image as needed,
so the size passed can never be "too small".
- fix check-package warnings in Config.in file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
20 lines
459 B
Plaintext
20 lines
459 B
Plaintext
menu "Filesystem images"
|
|
|
|
source "fs/axfs/Config.in"
|
|
source "fs/btrfs/Config.in"
|
|
source "fs/cloop/Config.in"
|
|
source "fs/cpio/Config.in"
|
|
source "fs/cramfs/Config.in"
|
|
source "fs/ext2/Config.in"
|
|
source "fs/initramfs/Config.in"
|
|
source "fs/iso9660/Config.in"
|
|
source "fs/jffs2/Config.in"
|
|
source "fs/romfs/Config.in"
|
|
source "fs/squashfs/Config.in"
|
|
source "fs/tar/Config.in"
|
|
source "fs/ubi/Config.in"
|
|
source "fs/ubifs/Config.in"
|
|
source "fs/yaffs2/Config.in"
|
|
|
|
endmenu
|