mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-10-22 23:13:04 +02:00
zfs: enable packageconfig pam for pam distro feature
Enable pam packageconfig if pam is in DISTRO_FEATURES. Also set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9198508373
commit
e2140c416c
|
@ -20,9 +20,11 @@ inherit module-base pkgconfig autotools bash-completion
|
|||
|
||||
DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl"
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}"
|
||||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam"
|
||||
PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${base_libdir}/security, --disable-pam"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,"
|
||||
PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit,"
|
||||
|
||||
|
@ -69,6 +71,8 @@ FILES:${PN} += "\
|
|||
${bindir} \
|
||||
${libexecdir}/${BPN} \
|
||||
${libdir} \
|
||||
${datadir}/pam-configs \
|
||||
${base_libdir}/security \
|
||||
"
|
||||
|
||||
FILES:${PN}-dev += "\
|
||||
|
|
Loading…
Reference in New Issue
Block a user