diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2012-12-14 17:20:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-19 17:54:59 +0000 |
commit | f144a9744dd01a8d25ef77ce5eaca1bb637d0f1c (patch) | |
tree | 24182b37ae9e63ffaf64650f2a7c813ca1a57056 /meta/recipes-extended/polkit | |
parent | 984d908c70c56d842224ab900fe907762ef1f9fa (diff) | |
download | poky-f144a9744dd01a8d25ef77ce5eaca1bb637d0f1c.tar.gz |
polkit: fix multilib packaging issue
- use BPN instead of PN (PN includes MLPREFIX)
- fix the following warning:
WARNING: QA Issue: lib32-polkit: Files/directories were installed but not shipped
/usr/share/polkit-1
/usr/share/polkit-1/actions
/usr/share/polkit-1/actions/org.freedesktop.policykit.policy
/usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
/usr/lib/polkit-1
/usr/lib/polkit-1/extensions
/usr/lib/polkit-1/extensions/libnullbackend.so
/usr/lib/polkit-1/extensions/libnullbackend.a
/usr/lib/polkit-1/extensions/libnullbackend.la
/usr/lib/polkit-1/extensions/.debug
/usr/lib/polkit-1/extensions/.debug/libnullbackend.so
[YOCTO #3438]
(From OE-Core rev: 49ef0b13e826c04adc8d4411eea87bdd60344a96)
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/polkit')
-rw-r--r-- | meta/recipes-extended/polkit/polkit_0.104.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-extended/polkit/polkit_0.104.bb b/meta/recipes-extended/polkit/polkit_0.104.bb index 67c375ae92..74b5379366 100644 --- a/meta/recipes-extended/polkit/polkit_0.104.bb +++ b/meta/recipes-extended/polkit/polkit_0.104.bb | |||
@@ -10,7 +10,7 @@ DEPENDS = "expat glib-2.0 intltool-native gobject-introspection-stub" | |||
10 | PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | 10 | PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
11 | PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam" | 11 | PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam" |
12 | 12 | ||
13 | PR = "r7" | 13 | PR = "r8" |
14 | 14 | ||
15 | PAM_SRC_URI = "file://polkit-1_pam.patch" | 15 | PAM_SRC_URI = "file://polkit-1_pam.patch" |
16 | SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \ | 16 | SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \ |
@@ -27,12 +27,12 @@ EXTRA_OECONF = "--with-os-type=moblin --disable-man-pages --disable-introspectio | |||
27 | inherit autotools gtk-doc pkgconfig | 27 | inherit autotools gtk-doc pkgconfig |
28 | 28 | ||
29 | do_install_append() { | 29 | do_install_append() { |
30 | rm -f ${D}${libdir}/${PN}-1/extensions/*.a | 30 | rm -f ${D}${libdir}/${BPN}-1/extensions/*.a |
31 | } | 31 | } |
32 | 32 | ||
33 | FILES_${PN} += "${libdir}/${PN}-1/extensions/*.so \ | 33 | FILES_${PN} += "${libdir}/${BPN}-1/extensions/*.so \ |
34 | ${datadir}/${PN}-1/actions/* \ | 34 | ${datadir}/${BPN}-1/actions/* \ |
35 | ${datadir}/dbus-1/system-services/*" | 35 | ${datadir}/dbus-1/system-services/*" |
36 | FILES_${PN}-dbg += "${libdir}/${PN}-1/extensions/.debug/*.so" | 36 | FILES_${PN}-dbg += "${libdir}/${BPN}-1/extensions/.debug/*.so" |
37 | FILES_${PN}-dev += "${libdir}/${PN}-1/extensions/*.la " | 37 | FILES_${PN}-dev += "${libdir}/${BPN}-1/extensions/*.la " |
38 | 38 | ||