generic-poky/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8
Chen Qi 3ceb90eacd populate-extfs.sh: error out if debugfs encounters some error
Previously, even if we encounter some error when populating the
ext filesystem, we don't error out and the rootfs process still
succeeds.

However, what's really expected is that the populate-extfs.sh script
should error out if something wrong happens when using `debugfs' to
generate the ext filesystem. For example, if there's not enough block
in the filesystem, and allocating a block for some file fails, the
failure should not be ignored. Otherwise, we will have a successful
build but a corrupted filesystem.

The debugfs returns 0 as long as the command is valid. That is, even
if the command fails, the debugfs still returns 0. That's really a
pain here. That's why this patch checks the error output to see whether
there's any error logged.

(From OE-Core rev: 468d3e60ee10348578f78f846e87c02359fdb8bf)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24 11:04:18 +01:00
..
acinclude.m4 e2fsprogs: upgrade to 1.42.8 2013-07-10 09:41:51 +01:00
debugfs-extent-header.patch e2fsprogs: properly set up extent header in do_write 2013-08-26 11:47:19 +01:00
debugfs-sparse-copy.patch e2fsprogs: let debugfs do sparse copy 2013-08-26 11:47:18 +01:00
debugfs-too-short.patch e2fsprogs: the max length of debugfs argument is too short 2013-08-26 11:47:18 +01:00
fallocate.patch e2fsprogs: upgrade to 1.42.8 2013-07-10 09:41:51 +01:00
fix-icache.patch e2fsprogs: only update the icache for ext2_inode 2013-08-26 11:47:19 +01:00
mkdir.patch e2fsprogs: upgrade to 1.42.8 2013-07-10 09:41:51 +01:00
populate-extfs.sh populate-extfs.sh: error out if debugfs encounters some error 2014-06-24 11:04:18 +01:00
remove.ldconfig.call.patch e2fsprogs: upgrade to 1.42.8 2013-07-10 09:41:51 +01:00