mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
mariadb: Fix 64bit builds if pam is enabled
Fix the installation of the pam.so for 64bit builds.
This is an indirect backport of commit
8fa0a3ace6 ("mariadb: upgrade to 10.5.4")
from the master branch.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -167,8 +167,12 @@ do_install() {
|
||||
mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
|
||||
fi
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
|
||||
mv ${D}/lib/security ${D}/${libdir}
|
||||
rmdir --ignore-fail-on-non-empty ${D}/lib
|
||||
pam_so=$(find ${D} -name pam_user_map.so)
|
||||
if [ x"${pam_so}" != x ]; then
|
||||
pam_dir=$(dirname ${pam_so})
|
||||
mv ${pam_dir} ${D}/${libdir}
|
||||
rmdir --ignore-fail-on-non-empty ${pam_dir%security}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user