summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-12-21 01:01:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-07 11:09:37 +0000
commit785512a306ad1b9bf921d1b153e584c0e9e348d0 (patch)
treeb8a6568015989582ddee0ba7134583eaf924f55e /meta/recipes-extended
parent4601eb90f518fdc2d5fda31507402f7929268c87 (diff)
downloadpoky-785512a306ad1b9bf921d1b153e584c0e9e348d0.tar.gz
libpam: enable multilib
Fix the following warning: WARNING: QA Issue: lib32-libpam: Files/directories were installed but not shipped /usr/sbin/unix_chkpwd /usr/sbin/pam_tally2 /usr/sbin/mkhomedir_helper /usr/sbin/unix_update /usr/sbin/pam_timestamp_check /usr/sbin/pam_tally (From OE-Core rev: 1dbb0bc048ceaf4cd2879362ae4a0f1398809349) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.6.bb15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index fae0467e01..93c98c0908 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -30,7 +30,7 @@ EXTRA_OECONF = "--with-db-uniquename=_pam \
30 30
31CFLAGS_append = " -fPIC " 31CFLAGS_append = " -fPIC "
32 32
33PR = "r1" 33PR = "r2"
34 34
35S = "${WORKDIR}/Linux-PAM-${PV}" 35S = "${WORKDIR}/Linux-PAM-${PV}"
36 36
@@ -66,12 +66,13 @@ python populate_packages_prepend () {
66 pam_filterdir = d.expand('${base_libdir}/security/pam_filter') 66 pam_filterdir = d.expand('${base_libdir}/security/pam_filter')
67 67
68 do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') 68 do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='')
69 pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_chkpwd') 69 mlprefix = d.getVar('MLPREFIX', True) or ''
70 pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_update') 70 pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_chkpwd')
71 pam_plugin_append_file('pam-plugin-tally', pam_sbindir, 'pam_tally') 71 pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_update')
72 pam_plugin_append_file('pam-plugin-tally2', pam_sbindir, 'pam_tally2') 72 pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 'pam_tally')
73 pam_plugin_append_file('pam-plugin-timestamp', pam_sbindir, 'pam_timestamp_check') 73 pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 'pam_tally2')
74 pam_plugin_append_file('pam-plugin-mkhomedir', pam_sbindir, 'mkhomedir_helper') 74 pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 'pam_timestamp_check')
75 pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 'mkhomedir_helper')
75 do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') 76 do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='')
76} 77}
77 78