diff options
author | Alexandru Moise <alexandru.moise@windriver.com> | 2017-02-21 16:46:51 +0200 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-05-02 10:29:41 -0400 |
commit | 99f4fc444d9d368ae8d39984eec180c992b544f3 (patch) | |
tree | 9732b63e1f733ef9cf09d9a0c6f6f3b31160d48d | |
parent | f782a9b794db219498ccf3d2d074c3c838667707 (diff) | |
download | meta-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.inc | 4 |
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 | ||
30 | DEPENDS += "checkpolicy-native policycoreutils-native m4-native" | 30 | EXTRANATIVEPATH += "bzip2-native" |
31 | |||
32 | DEPENDS += "bzip2-replacement-native checkpolicy-native policycoreutils-native m4-native" | ||
31 | 33 | ||
32 | RDEPENDS-${PN}-dev =+ " \ | 34 | RDEPENDS-${PN}-dev =+ " \ |
33 | python \ | 35 | python \ |