diff mbox series

[meta-webserver,4/5] cockpit: set pam module path to ${base_libdir}/security

Message ID 20250106082152.882222-4-yi.zhao@windriver.com
State Accepted
Headers show
Series [meta-oe,1/5] snapper: set pam module path to ${base_libdir}/security | expand

Commit Message

Yi Zhao Jan. 6, 2025, 8:21 a.m. UTC
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>
---
 meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
index 6a5eb4e66e..98a5aef680 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
@@ -35,6 +35,7 @@  EXTRA_OECONF = " \
     --with-cockpit-ws-instance-group=${COCKPIT_WS_USER_GROUP} \
     --disable-doc \
     --with-systemdunitdir=${systemd_system_unitdir} \
+    --with-pamdir=${base_libdir}/security \
 "
 
 PACKAGECONFIG ??= " \
@@ -154,8 +155,8 @@  FILES:${PN}-ws = " \
     ${systemd_system_unitdir}/system-cockpithttps.slice \
     ${libdir}/tmpfiles.d/cockpit-tempfiles.conf \
     ${sbindir}/remotectl \
-    ${libdir}/security/pam_ssh_add.so \
-    ${libdir}/security/pam_cockpit_cert.so \
+    ${base_libdir}/security/pam_ssh_add.so \
+    ${base_libdir}/security/pam_cockpit_cert.so \
     ${libexecdir}/cockpit-ws \
     ${libexecdir}/cockpit-wsinstance-factory \
     ${libexecdir}/cockpit-tls \