From 69036c20f14de6d919bc423af32a51a84b023893 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 11 Apr 2013 12:17:51 +0000 Subject: fs/ext2: add ability to build ext3/4 too Use the host-e2fsprogs to tune2fs the generated rootfs.ext2 image, and upgrade it to either one of ext2, ext3 or ext4. Since calling tune2fs may require running e2fsck (tune2fs will warn to do so when certain FS options are changed), we systematically call e2fsck. This makes the code path simpler, and as a side-effect checks that genext2fs did not generate garbage. In turn, e2fsck will unconditionally add a UUID to the filesystem, which is bad for reproducibility, so we call tune2fs again to remove the UUID. This does not require checking the filesystem. To ensure compatibility of Buildroot's .config, leave ext2 as the default. Boards' .config can override this at will. Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Peter Korsgaard Signed-off-by: Peter Korsgaard --- package/e2fsprogs/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/e2fsprogs') diff --git a/package/e2fsprogs/Config.in.host b/package/e2fsprogs/Config.in.host index ea6a0bdc8..0c001c22a 100644 --- a/package/e2fsprogs/Config.in.host +++ b/package/e2fsprogs/Config.in.host @@ -1,6 +1,6 @@ config BR2_PACKAGE_HOST_E2FSPROGS bool "host e2fsprogs" help - The EXT2 file system utilities. + The EXT2/3/4 file system utilities. http://e2fsprogs.sf.net -- cgit v1.2.3