Enable PAM functionality within systemd.
PATCH 1/1 Enable PAM functionality within systemd.
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 <[email protected]>
--- package/systemd/systemd.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/systemd/systemd.mk +7 -1
@@ -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
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH 1/1 Enable PAM functionality within systemd.
Hello,
Quoted 7 lines · James Balean
Enables systemd PAM support if
BR2_PACKAGE_LINUX_PAMis set.
Some essential config files are not installed without the --enable-pam option.Signed-off-by James Balean <[email protected]>--- package/systemd/systemd.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Applied to next, after tweaking a bit the commit title.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com