mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
lastlog2: specify correct pamlibdir
Install pam_lastlog2.so to pam plugin directoy. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ REQUIRED_DISTRO_FEATURES = "pam"
|
|||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
|
SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
|
||||||
|
|
||||||
EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
|
EXTRA_OEMESON = " -Dpamlibdir=${base_libdir}/security"
|
||||||
|
|
||||||
do_install:append () {
|
do_install:append () {
|
||||||
if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
|
if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user