diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-01-06 16:21:48 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-06 07:22:29 -0800 |
| commit | 83a8e761ed11fdd7b7d5392fe4c87b0022fa5378 (patch) | |
| tree | da3d56e3b4deeffd101da80522c213dc7d7e20bb | |
| parent | d89fc818b716d099f83a5a9a973be428e2b66806 (diff) | |
| download | meta-openembedded-83a8e761ed11fdd7b7d5392fe4c87b0022fa5378.tar.gz | |
snapper: set pam module path to ${base_libdir}/security
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>
| -rw-r--r-- | meta-oe/recipes-support/snapper/snapper_0.11.2.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb index 28fa104af0..74181ad6ae 100644 --- a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb +++ b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb | |||
| @@ -17,10 +17,10 @@ SRCREV = "6c603565f36e9996d85045c8012cd04aba5f3708" | |||
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 19 | 19 | ||
| 20 | EXTRA_OECONF += "--disable-zypp --with-pam-security=${libdir}/security" | 20 | EXTRA_OECONF += "--disable-zypp" |
| 21 | 21 | ||
| 22 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}" | 22 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}" |
| 23 | PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" | 23 | PACKAGECONFIG[pam] = "--enable-pam --with-pam-security=${base_libdir}/security, --disable-pam,libpam" |
| 24 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" | 24 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" |
| 25 | PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native" | 25 | PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native" |
| 26 | 26 | ||
| @@ -35,7 +35,7 @@ do_install:append() { | |||
| 35 | install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper | 35 | install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | FILES:${PN} += "${libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}" | 38 | FILES:${PN} += "${base_libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}" |
| 39 | 39 | ||
| 40 | # bash is needed for the testsuite | 40 | # bash is needed for the testsuite |
| 41 | RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount" | 41 | RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount" |
