[OE-core] [meta-selinux] [PATCH v2] refpolicy-mls: user native bzip2 instead of host
Alexandru Moise
alexandru.moise at windriver.com
Tue Feb 21 14:28:17 UTC 2017
The behavior of b{zip,unzip}2 an vary from host to host with
regards to a number of things such as return value or permissions.
We should always use the native bzip2 package to keep the behavior
deterministic. This change prevents a warning at do_package_qa
task of refpolicy-mls package.
Signed-off-by: Alexandru Moise <alexandru.moise at windriver.com>
---
Changes since v1:
Use Ross Burton's suggestion of using appending the bzip2-native
path to EXTRANATIVEPATH variable instead of using the absolute path.
recipes-security/refpolicy/refpolicy_common.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc
index 58152a8..8c0a3fd 100644
--- a/recipes-security/refpolicy/refpolicy_common.inc
+++ b/recipes-security/refpolicy/refpolicy_common.inc
@@ -27,6 +27,8 @@ FILES_${PN}-dev =+ " \
${sysconfdir}/selinux/sepolgen.conf \
"
+EXTRANATIVEPATH += "bzip2-native"
+
DEPENDS += "checkpolicy-native policycoreutils-native m4-native"
RDEPENDS-${PN}-dev =+ " \
--
2.10.2
More information about the Openembedded-core
mailing list