summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam_1.5.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pam/libpam_1.5.3.bb')
-rw-r--r--meta/recipes-extended/pam/libpam_1.5.3.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.5.3.bb b/meta/recipes-extended/pam/libpam_1.5.3.bb
index 7af3ea99d1..809d927f55 100644
--- a/meta/recipes-extended/pam/libpam_1.5.3.bb
+++ b/meta/recipes-extended/pam/libpam_1.5.3.bb
@@ -57,6 +57,11 @@ FILES:${PN}-dev += "${base_libdir}/security/*.la ${base_libdir}/*.la ${base_libd
57FILES:${PN}-runtime = "${sysconfdir} ${sbindir} ${systemd_system_unitdir}" 57FILES:${PN}-runtime = "${sysconfdir} ${sbindir} ${systemd_system_unitdir}"
58FILES:${PN}-xtests = "${datadir}/Linux-PAM/xtests" 58FILES:${PN}-xtests = "${datadir}/Linux-PAM/xtests"
59 59
60# libpam installs /etc/environment for use with the pam_env plugin. Make sure it is
61# packaged with the pam-plugin-env package to avoid breaking installations which
62# install that file via other packages
63FILES:pam-plugin-env = "${sysconfdir}/environment"
64
60PACKAGES_DYNAMIC += "^${MLPREFIX}pam-plugin-.*" 65PACKAGES_DYNAMIC += "^${MLPREFIX}pam-plugin-.*"
61 66
62def get_multilib_bit(d): 67def get_multilib_bit(d):
@@ -113,7 +118,7 @@ python populate_packages:prepend () {
113 pam_pkgname = mlprefix + 'pam-plugin%s' 118 pam_pkgname = mlprefix + 'pam-plugin%s'
114 119
115 do_split_packages(d, pam_libdir, r'^pam(.*)\.so$', pam_pkgname, 120 do_split_packages(d, pam_libdir, r'^pam(.*)\.so$', pam_pkgname,
116 'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='') 121 'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='', prepend=True)
117 do_split_packages(d, pam_filterdir, r'^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') 122 do_split_packages(d, pam_filterdir, r'^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='')
118} 123}
119 124