diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-08-17 14:27:58 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-08-17 15:05:10 +0800 |
commit | 0a7a8b89b6d7614581afe00244a92cf65f011ec0 (patch) | |
tree | a35e098db7d5f5865d40143b9d1e422b8addbc82 | |
parent | a6f0b8e3f68885e0f5796c47a7e5b3e068c1d55f (diff) | |
download | meta-selinux-0a7a8b89b6d7614581afe00244a92cf65f011ec0.tar.gz |
policycoreutils: rewrite DEPENDS for libcap-ng&libcgroup&pam
EXTRA_DEPENDS is still not null while building native packages,
this will add useless depends for libcap-ng&libcgroup&pam and
cause build errors.
So rewrite these DEPENDS.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-security/selinux/policycoreutils_2.1.10.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/selinux/policycoreutils_2.1.10.bb b/recipes-security/selinux/policycoreutils_2.1.10.bb index 80c79f2..848f010 100644 --- a/recipes-security/selinux/policycoreutils_2.1.10.bb +++ b/recipes-security/selinux/policycoreutils_2.1.10.bb | |||
@@ -16,10 +16,10 @@ SRC_URI[sha256sum] = "8bbbc36b7d375edff891503932da93e37553f0dd7bdceded7ce9a45c80 | |||
16 | 16 | ||
17 | SRC_URI += "file://policycoreutils-fix-format-security.patch" | 17 | SRC_URI += "file://policycoreutils-fix-format-security.patch" |
18 | 18 | ||
19 | DEPENDS += "libsepol libselinux libsemanage ${EXTRA_DEPENDS}" | 19 | DEPENDS += "libsepol libselinux libsemanage" |
20 | DEPENDS += "${@['', '${EXTRA_DEPENDS}']['${PN}' == '${BPN}']}" | ||
20 | EXTRA_DEPENDS = "libcap-ng libcgroup" | 21 | EXTRA_DEPENDS = "libcap-ng libcgroup" |
21 | EXTRA_DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam audit', '', d)}" | 22 | EXTRA_DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam audit', '', d)}" |
22 | EXTRA_DEPENDS_virtclass-native = "" | ||
23 | 23 | ||
24 | RDEPENDS_${BPN} += "\ | 24 | RDEPENDS_${BPN} += "\ |
25 | libselinux-python \ | 25 | libselinux-python \ |