summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-10 11:19:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:31:03 +0100
commit9d7c32a88e0670a09e5e1097ff8bca58e9a7943f (patch)
treeb691f2f53d4d312fdb6a693dbfe0a9868d39b94c /meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
parent40e2d36573a7a6bce377b1f9653607065ba5ffb6 (diff)
downloadopenembedded-core-9d7c32a88e0670a09e5e1097ff8bca58e9a7943f.tar.gz
openembedded-core-9d7c32a88e0670a09e5e1097ff8bca58e9a7943f.tar.bz2
openembedded-core-9d7c32a88e0670a09e5e1097ff8bca58e9a7943f.zip
e2fsprogs: Fix missing check for permission denied.
If the path to "ROOT_SYSCONFDIR /mke2fs.conf" has a permission denied problem, then the get_dirlist() call will return EACCES. But the code in profile_init will treat that as a fatal error and all executions will fail with: Couldn't init profile successfully (error: 13). But the problem should not really be visible for the target package as the path then will be "/etc/mke2fs.conf", and it is not likely that a user have no permission to read /etc. Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
index e82124bf58..837224cc72 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb
@@ -11,6 +11,8 @@ SRC_URI += "file://acinclude.m4 \
file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \
"
+SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch"
+
SRCREV = "d6adf070b0e85f209c0d7f310188b134b5cb7180"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$"