summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McGregor <daniel.mcgregor@vecima.com>2024-09-19 10:25:00 -0600
committerSteve Sakoman <steve@sakoman.com>2024-10-29 05:51:03 -0700
commit46b4d4c257157242e9a94acf19ac52eb8c77a728 (patch)
tree640cebf2059eda73bedec617a0cec64cb2374139
parent80e1dff59f88e18515d4de62ea690b68e0010f59 (diff)
downloadpoky-46b4d4c257157242e9a94acf19ac52eb8c77a728.tar.gz
libpam: use libdir in conditional
Using the usrmerge distro feature for this check causes the -native variant's build to fail. Simplify the test to be correct for both native and target builds. (From OE-Core rev: ba11742291bccc9ac4d30ca85b058576cbc17427) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 105e6fbdd28238cef41f280c0c28939b24d1a96e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-extended/pam/libpam_1.6.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.6.1.bb b/meta/recipes-extended/pam/libpam_1.6.1.bb
index b9ef564f56..c9ef40bf23 100644
--- a/meta/recipes-extended/pam/libpam_1.6.1.bb
+++ b/meta/recipes-extended/pam/libpam_1.6.1.bb
@@ -155,7 +155,7 @@ do_install() {
155 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 155 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
156 echo "session optional pam_systemd.so" >> ${D}${sysconfdir}/pam.d/common-session 156 echo "session optional pam_systemd.so" >> ${D}${sysconfdir}/pam.d/common-session
157 fi 157 fi
158 if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','false','true',d)}; then 158 if [ "${base_libdir}" != "${libdir}" ]; then
159 install -d ${D}/${libdir}/ 159 install -d ${D}/${libdir}/
160 mv ${D}/${base_libdir}/pkgconfig ${D}/${libdir}/ 160 mv ${D}/${base_libdir}/pkgconfig ${D}/${libdir}/
161 fi 161 fi