* [PATCH 1/2] packagegroup-core-basic: remove libpam
@ 2013-07-08 15:52 Saul Wold
2013-07-08 15:52 ` [PATCH 2/2] util-linux: Use PACKAGECONFIG to control pam and system config options Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2013-07-08 15:52 UTC (permalink / raw)
To: openembedded-core
It is a dependency of shadow and other PAM related recipes and will be
built when the pam DISTRO_FEATURE is enabled.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-extended/packagegroups/packagegroup-core-basic.bb | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
index dd3c450..2e6f576 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
@@ -108,7 +108,6 @@ RDEPENDS_packagegroup-core-multiuser = "\
cracklib \
gzip \
libuser \
- ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
shadow \
sudo \
"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] util-linux: Use PACKAGECONFIG to control pam and system config options
2013-07-08 15:52 [PATCH 1/2] packagegroup-core-basic: remove libpam Saul Wold
@ 2013-07-08 15:52 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2013-07-08 15:52 UTC (permalink / raw)
To: openembedded-core
The PACKAGECONFIG will ensure consistent enabling and disabling of the pam and systemd related
options for configure and the correct dependencies
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-core/util-linux/util-linux.inc | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 5bae370..c7da4ed 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -42,18 +42,17 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \
--disable-makeinstall-chown --enable-elvtune --enable-init \
--enable-kill --enable-last --enable-mesg --enable-partx \
--enable-raw --enable-rdev --enable-reset --disable-login \
- --disable-vipw --disable-newgrp --disable-chfn-chsh --disable-su \
+ --disable-vipw --disable-newgrp --disable-chfn-chsh \
--enable-write --enable-arch --enable-mount --with-fsprobe=builtin \
--enable-libuuid --enable-libblkid --enable-fsck --without-udev \
- --disable-runuser \
usrsbin_execdir='${sbindir}' \
"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \"
+ ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \"
+PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, pam,"
# Respect the systemd feature for uuidd
-EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--enable-socket-activation', '--disable-socket-activation', d)}"
-EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
-
-EXTRA_OECONF_append_class-native = " --disable-login --disable-su --disable-runuser"
+PACKAGECONFIG[systemd] = "--enable-socket-activation --with-systemdsystemunitdir=${systemd_unitdir}/system/, --disable-socket-activation --without-systemdsystemunitdir"
FILES_${PN}-bash-completion += "${datadir}/bash-completion"
FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-08 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 15:52 [PATCH 1/2] packagegroup-core-basic: remove libpam Saul Wold
2013-07-08 15:52 ` [PATCH 2/2] util-linux: Use PACKAGECONFIG to control pam and system config options Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox