* [Buildroot] [PATCH 1/1] Enable PAM functionality within systemd.
@ 2017-02-27 3:09 James Balean
2017-02-27 21:00 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: James Balean @ 2017-02-27 3:09 UTC (permalink / raw)
To: buildroot
Enables systemd PAM support if BR2_PACKAGE_LINUX_PAM is set.
Some essential config files are not installed without the --enable-pam option.
Signed-off-by: James Balean <james@balean.com.au>
---
package/systemd/systemd.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index fce5d84..0d2f416 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -30,7 +30,6 @@ SYSTEMD_CONF_OPTS += \
--enable-blkid \
--enable-static=no \
--disable-manpages \
- --disable-pam \
--disable-ima \
--disable-libcryptsetup \
--disable-efi \
@@ -108,6 +107,13 @@ else
SYSTEMD_CONF_OPTS += --disable-lz4
endif
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+SYSTEMD_DEPENDENCIES += linux-pam
+SYSTEMD_CONF_OPTS += --enable-pam
+else
+SYSTEMD_CONF_OPTS += --disable-pam
+endif
+
ifeq ($(BR2_PACKAGE_XZ),y)
SYSTEMD_DEPENDENCIES += xz
SYSTEMD_CONF_OPTS += --enable-xz
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] Enable PAM functionality within systemd.
2017-02-27 3:09 [Buildroot] [PATCH 1/1] Enable PAM functionality within systemd James Balean
@ 2017-02-27 21:00 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-02-27 21:00 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 26 Feb 2017 21:09:46 -0600, James Balean wrote:
> Enables systemd PAM support if BR2_PACKAGE_LINUX_PAM is set.
> Some essential config files are not installed without the --enable-pam option.
>
> Signed-off-by: James Balean <james@balean.com.au>
> ---
> package/systemd/systemd.mk | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
Applied to next, after tweaking a bit the commit title.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-27 21:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-27 3:09 [Buildroot] [PATCH 1/1] Enable PAM functionality within systemd James Balean
2017-02-27 21:00 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox