From 99f4fc444d9d368ae8d39984eec180c992b544f3 Mon Sep 17 00:00:00 2001 From: Alexandru Moise Date: Tue, 21 Feb 2017 16:46:51 +0200 Subject: refpolicy-mls: user native bzip2 instead of host 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 Signed-off-by: Joe MacDonald --- recipes-security/refpolicy/refpolicy_common.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index 58152a8..6a45e79 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc @@ -27,7 +27,9 @@ FILES_${PN}-dev =+ " \ ${sysconfdir}/selinux/sepolgen.conf \ " -DEPENDS += "checkpolicy-native policycoreutils-native m4-native" +EXTRANATIVEPATH += "bzip2-native" + +DEPENDS += "bzip2-replacement-native checkpolicy-native policycoreutils-native m4-native" RDEPENDS-${PN}-dev =+ " \ python \ -- cgit v1.2.3-54-g00ecf