mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 01:29:09 +00: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"
|
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[systemd] = "--enable-systemd,--disable-systemd,"
|
||||||
PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit,"
|
PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit,"
|
||||||
|
|
||||||
@ -69,6 +71,8 @@ FILES:${PN} += "\
|
|||||||
${bindir} \
|
${bindir} \
|
||||||
${libexecdir}/${BPN} \
|
${libexecdir}/${BPN} \
|
||||||
${libdir} \
|
${libdir} \
|
||||||
|
${datadir}/pam-configs \
|
||||||
|
${base_libdir}/security \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES:${PN}-dev += "\
|
FILES:${PN}-dev += "\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user