diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2021-08-11 16:22:34 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-13 14:44:06 +0100 |
| commit | 46e975c5811c0d335f378539696a8cd1718a0ef0 (patch) | |
| tree | 8cdccd610446afde047c957d996b3563c9584e81 | |
| parent | a38e358e163b211c37d15faf88fb1f109a72dc16 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 6 |
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 | ||
| 47 | export CONFIG_SHELL="/bin/sh" | 47 | export CONFIG_SHELL="/bin/sh" |
| 48 | 48 | ||
| 49 | EXTRA_OECONF += "--without-audit \ | 49 | EXTRA_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 = "" | |||
| 81 | PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" | 79 | PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" |
| 82 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" | 80 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" |
| 83 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" | 81 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" |
| 82 | PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit" | ||
| 83 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux libsemanage" | ||
| 84 | 84 | ||
| 85 | RDEPENDS:${PN} = "shadow-securetty \ | 85 | RDEPENDS:${PN} = "shadow-securetty \ |
| 86 | base-passwd \ | 86 | base-passwd \ |
