From: "Yi Zhao" <yi.zhao@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] shadow: add PACKAGECONFIG for selinux
Date: Tue, 10 Aug 2021 16:31:47 +0800 [thread overview]
Message-ID: <20210810083147.23455-2-yi.zhao@windriver.com> (raw)
In-Reply-To: <20210810083147.23455-1-yi.zhao@windriver.com>
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
meta/recipes-extended/shadow/shadow.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 2834509649..6968a06ea6 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -48,7 +48,6 @@ export CONFIG_SHELL="/bin/sh"
EXTRA_OECONF += "--without-audit \
--without-libcrack \
- --without-selinux \
--with-group-name-max-length=24 \
--enable-subordinate-ids=yes \
--without-sssd \
@@ -81,6 +80,7 @@ PACKAGECONFIG:class-nativesdk = ""
PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}"
PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl"
+PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
RDEPENDS:${PN} = "shadow-securetty \
base-passwd \
--
2.25.1
prev parent reply other threads:[~2021-08-10 8:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-10 8:31 [PATCH 1/2] dbus: add PACKAGECONFIG for audit and selinux Yi Zhao
2021-08-10 8:31 ` Yi Zhao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210810083147.23455-2-yi.zhao@windriver.com \
--to=yi.zhao@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox