All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] systemd: move pam files to own package
@ 2017-09-25  8:59 andreas.kling
  2017-09-26 13:30 ` Burton, Ross
  2017-09-26 17:17 ` [PATCH v2] " andreas.kling
  0 siblings, 2 replies; 11+ messages in thread
From: andreas.kling @ 2017-09-25  8:59 UTC (permalink / raw)
  To: openembedded-core

From: Andy Kling <andreas.kling@peiker-cee.de>

  move pam related files to already existing systemd-pam package.
  add runtime dependencies to pam plugins introduced by file systemd-user.

Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
---
 meta/recipes-core/systemd/systemd_234.bb | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb
index 2695e15ac6..fa16807406 100644
--- a/meta/recipes-core/systemd/systemd_234.bb
+++ b/meta/recipes-core/systemd/systemd_234.bb
@@ -100,7 +100,7 @@ PACKAGECONFIG[importd] = "--enable-importd,--disable-importd"
 PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn"
 PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit"
 PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
-PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
+PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam,${PN}-pam"
 # Verify keymaps on locale change
 PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
 # Update NAT firewall rules
@@ -434,6 +434,17 @@ FILES_${PN}-extra-utils = "\
                         ${rootlibexecdir}/systemd/systemd-cgroups-agent \
 "
 
+RDEPENDS_${PN}-pam += " \
+                        pam-plugin-unix \
+                        pam-plugin-loginuid \
+                        pam-plugin-keyinit \
+"
+
+FILES_${PN}-pam = " \
+                    ${sysconfdir}/pam.d/ \
+                    ${base_libdir}/security/*.so \
+"
+
 CONFFILES_${PN} = "${sysconfdir}/machine-id \
                 ${sysconfdir}/systemd/coredump.conf \
                 ${sysconfdir}/systemd/journald.conf \
@@ -450,7 +461,6 @@ FILES_${PN} = " ${base_bindir}/* \
                 ${sysconfdir}/dbus-1/ \
                 ${sysconfdir}/machine-id \
                 ${sysconfdir}/modules-load.d/ \
-                ${sysconfdir}/pam.d/ \
                 ${sysconfdir}/sysctl.d/ \
                 ${sysconfdir}/systemd/ \
                 ${sysconfdir}/tmpfiles.d/ \
@@ -459,7 +469,6 @@ FILES_${PN} = " ${base_bindir}/* \
                 ${sysconfdir}/resolv-conf.systemd \
                 ${rootlibexecdir}/systemd/* \
                 ${systemd_unitdir}/* \
-                ${base_libdir}/security/*.so \
                 /cgroup \
                 ${bindir}/systemd* \
                 ${bindir}/busctl \
-- 
2.14.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-10 16:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25  8:59 [PATCH] systemd: move pam files to own package andreas.kling
2017-09-26 13:30 ` Burton, Ross
2017-09-26 17:17 ` [PATCH v2] " andreas.kling
2017-09-26 17:19   ` Burton, Ross
2017-09-27  9:40   ` [PATCH v3] systemd: add runtime dependencies to pam plugins andreas.kling
2017-09-28  7:37     ` Peter Kjellerstedt
2017-09-28 16:35     ` [PATCH v4] " andreas.kling
2017-09-29 16:31       ` Burton, Ross
2017-10-02 18:06         ` Andy
2017-10-09 19:00           ` Andy
2017-10-10 16:34             ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.