summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-07-04 22:13:39 +0800
committerKhem Raj <raj.khem@gmail.com>2024-07-04 08:45:54 -0700
commitcd25a7505deef5462a95aeb87039822ad8682e65 (patch)
tree41d1a0cf6fb0f21ef40a14a687b4be496511a1ec
parent46b2eef28b213de3627fb8258fe4ae01b0702999 (diff)
downloadmeta-openembedded-cd25a7505deef5462a95aeb87039822ad8682e65.tar.gz
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>
-rw-r--r--meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb b/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb
index 43deac3839..0b3ab1f82c 100644
--- a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb
+++ b/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb
@@ -20,7 +20,7 @@ REQUIRED_DISTRO_FEATURES = "pam"
20 20
21SYSTEMD_SERVICE:${PN} = "lastlog2-import.service" 21SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
22 22
23EXTRA_OEMESON = " -Dpamlibdir=${libdir}" 23EXTRA_OEMESON = " -Dpamlibdir=${base_libdir}/security"
24 24
25do_install:append () { 25do_install:append () {
26 if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then 26 if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then