Skip to contentSkip to conversation

at: add libselinux to PACKAGECONFIG

PATCH In review [email protected] 1 participant 2 messages Jul 21, 2016 – Aug 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 at: add libselinux to PACKAGECONFIG

* add libselinux to PACKAGECONFIG for at

---
 meta/recipes-extended/at/at_3.1.20.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-extended/at/at_3.1.20.bb +6 -0
index 1c3eefc..ce5ff53 100644
@@ -7,6 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
 DEPENDS = "flex flex-native \
            ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
+PACKAGECONFIG ?= "\
+    ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
+"
+
+PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
+
 RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \
 "
 
Signature · 1 line
2.8.1
author
#1 lore raw

//ping

Thanks,
Grace

Quoted 25 lines · On 2016年07月21日 10:40, [email protected] wrote:

* add libselinux to PACKAGECONFIG for at

---
  meta/recipes-extended/at/at_3.1.20.bb | 6 ++++++
  1 file changed, 6 insertions(+)
meta/recipes-extended/at/at_3.1.20.bb +6 -0
index 1c3eefc..ce5ff53 100644
@@ -7,6 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
  DEPENDS = "flex flex-native \
             ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
+PACKAGECONFIG ?= "\
+    ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
+"
+
+PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
+
  RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \
  "