summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-08-11 16:22:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-13 14:44:06 +0100
commit46e975c5811c0d335f378539696a8cd1718a0ef0 (patch)
tree8cdccd610446afde047c957d996b3563c9584e81 /meta/recipes-extended/shadow
parenta38e358e163b211c37d15faf88fb1f109a72dc16 (diff)
downloadpoky-46e975c5811c0d335f378539696a8cd1718a0ef0.tar.gz
shadow: add PACKAGECONFIG for audit and selinux
Add PACKAGECONFIG for audit and selinux rather than disable them directly. This is useful for selinux distro feature. (From OE-Core rev: 0a0c6cfc5a17ed442aad9e71e627e0fa39e60ead) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 2834509649..97ffae978a 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -46,9 +46,7 @@ inherit autotools gettext
46 46
47export CONFIG_SHELL="/bin/sh" 47export CONFIG_SHELL="/bin/sh"
48 48
49EXTRA_OECONF += "--without-audit \ 49EXTRA_OECONF += "--without-libcrack \
50 --without-libcrack \
51 --without-selinux \
52 --with-group-name-max-length=24 \ 50 --with-group-name-max-length=24 \
53 --enable-subordinate-ids=yes \ 51 --enable-subordinate-ids=yes \
54 --without-sssd \ 52 --without-sssd \
@@ -81,6 +79,8 @@ PACKAGECONFIG:class-nativesdk = ""
81PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" 79PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}"
82PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" 80PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
83PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" 81PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl"
82PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit"
83PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux libsemanage"
84 84
85RDEPENDS:${PN} = "shadow-securetty \ 85RDEPENDS:${PN} = "shadow-securetty \
86 base-passwd \ 86 base-passwd \