kumquat-buildroot/fs
Yann E. MORIN 9e680d0ada fs/ext2: fix generation of ext4 filesystems
cset 7a58a4e (e2fsprogs: bump to version 1.42.9) broke the generation
of ext4 filesystems.

This is because, in ext4, some metadata are dependent on the UUID.
If changing the UUID of an ext4 filesystem, tune2fs now exits with
exit-code 1, and prints a message to run fsck, to avoid trashing the
filesystem.

This condition is of utmost importance on a mounted filesysten (which
is not our case) to avoid corruption (yes, it is possible to change
the UUID of a mounted filesystem).

But the error is not valid for us, since we are working on an unmonted
filesystem image in the first place.

Since we change the UUID after we convert the filesystem (to ext4),
tune2fs just bails out.

We can not just ignore the exit code of tune2fs, since we still want
to catch any other failure.

It turns out that, changing the UUID before converting the filesystem
is just the way to go.

Fixes #6752.

Reported-by: Daniel Mentz <daniel@exxm.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Daniel Mentz <daniel@exxm.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-06 00:07:25 +01:00
..
cloop Normalize separator size to 80 2013-06-07 10:54:54 +02:00
cpio uboot-tools: factor out common mkimage infrastructure 2013-11-11 00:37:03 +01:00
cramfs Normalize separator size to 80 2013-06-07 10:54:54 +02:00
ext2 fs/ext2: fix generation of ext4 filesystems 2014-01-06 00:07:25 +01:00
initramfs Config.in files: unification of comments about dependency on Linux kernel 2013-12-15 16:24:36 +01:00
iso9660 fs/iso9660: add Grub splashscreen support 2013-12-31 00:05:17 +01:00
jffs2 Remove redundant dollar signs in Config.in files 2013-10-26 19:58:30 +02:00
romfs package: remove the empty trailing line(s) 2014-01-04 10:39:29 +01:00
squashfs Config.in files: whitespace cleanup 2013-11-11 22:19:30 +01:00
tar fix white spaces 2013-07-20 21:13:57 +02:00
ubifs ubifs filesystem image: line up and improve Config.in options 2013-09-12 22:01:17 +02:00
common.mk rootfs-common: refactor the common compression commands 2013-11-11 00:32:46 +01:00
Config.in reorder fs alphabetically 2012-12-02 23:19:25 -08:00