summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Rondini <diego.rondini@kynetics.com>2018-12-28 13:55:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-02 12:52:54 +0000
commit18e1f5bd1f072e731c599d3904ed063fae942ecb (patch)
treeaed84a269fff27c519222b9175effc63d471e8a5
parent9d37272bd950b10cedab0fe610ae05b20386eec6 (diff)
downloadopenembedded-core-contrib-18e1f5bd1f072e731c599d3904ed063fae942ecb.tar.gz
openembedded-core-contrib-18e1f5bd1f072e731c599d3904ed063fae942ecb.tar.bz2
openembedded-core-contrib-18e1f5bd1f072e731c599d3904ed063fae942ecb.zip
cups: default to unix pam module
When pam PACKAGECONFIG is enabled a cups "pam.d" configuration file is installed. The default configuration file uses a non-existing "pam_unknown.so", but a different existing module can be selected by passing the --with-pam-module parameter. Use the unix pam module when pam is enabled. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/cups/cups.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index c142a4d990..5010f0861f 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -29,7 +29,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi',
${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
-PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
+PACKAGECONFIG[pam] = "--enable-pam --with-pam-module=unix, --disable-pam, libpam"
PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--without-systemd,systemd"
PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd"