summaryrefslogtreecommitdiffstats
path: root/package/coreutils
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-04-11 12:17:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-12 14:39:24 +0200
commit69036c20f14de6d919bc423af32a51a84b023893 (patch)
tree0f7ab1fcd0f880643c09f8a12709f07cb19250ff /package/coreutils
parent5fbef614802d4de658a387e9306b52f31356db26 (diff)
downloadbuildroot-novena-69036c20f14de6d919bc423af32a51a84b023893.tar.gz
buildroot-novena-69036c20f14de6d919bc423af32a51a84b023893.zip
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" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/coreutils')
0 files changed, 0 insertions, 0 deletions