diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-03-20 14:08:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 12:05:51 +0000 |
commit | 21a3ffb2dc305ab236a006e812007e6c8f665a0e (patch) | |
tree | 07b6bcdd33954df769f897b062c1c8bfe4d64e0c /meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | |
parent | d5982a28b1a61c8dec1eace043548c126306d907 (diff) | |
download | poky-21a3ffb2dc305ab236a006e812007e6c8f665a0e.tar.gz |
e2fsprogs: return error when failed to populate fs
We need return retval when "mke2fs -d" failed, otherwise the "$?" would
be 0 which is misleading.
[YOCTO #6011]
(From OE-Core rev: 46896b601c1c93e276954b674aa30b8b4dc4f611)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb index 4114fd21bc..75a58b5d45 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | |||
@@ -17,6 +17,7 @@ SRC_URI += "file://acinclude.m4 \ | |||
17 | file://0010-debugfs-use-the-functions-in-misc-create_inode.c.patch \ | 17 | file://0010-debugfs-use-the-functions-in-misc-create_inode.c.patch \ |
18 | file://0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch \ | 18 | file://0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch \ |
19 | file://0001-e2fsprogs-fix-cross-compilation-problem.patch \ | 19 | file://0001-e2fsprogs-fix-cross-compilation-problem.patch \ |
20 | file://misc-mke2fs.c-return-error-when-failed-to-populate-fs.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[md5sum] = "3f8e41e63b432ba114b33f58674563f7" | 23 | SRC_URI[md5sum] = "3f8e41e63b432ba114b33f58674563f7" |