summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Moise <alexandru.moise@windriver.com>2017-02-21 16:46:51 +0200
committerJoe MacDonald <joe_macdonald@mentor.com>2017-05-02 10:29:41 -0400
commit99f4fc444d9d368ae8d39984eec180c992b544f3 (patch)
tree9732b63e1f733ef9cf09d9a0c6f6f3b31160d48d
parentf782a9b794db219498ccf3d2d074c3c838667707 (diff)
downloadmeta-selinux-99f4fc444d9d368ae8d39984eec180c992b544f3.tar.gz
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 <alexandru.moise@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-security/refpolicy/refpolicy_common.inc4
1 files changed, 3 insertions, 1 deletions
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 =+ " \
27 ${sysconfdir}/selinux/sepolgen.conf \ 27 ${sysconfdir}/selinux/sepolgen.conf \
28" 28"
29 29
30DEPENDS += "checkpolicy-native policycoreutils-native m4-native" 30EXTRANATIVEPATH += "bzip2-native"
31
32DEPENDS += "bzip2-replacement-native checkpolicy-native policycoreutils-native m4-native"
31 33
32RDEPENDS-${PN}-dev =+ " \ 34RDEPENDS-${PN}-dev =+ " \
33 python \ 35 python \