[oe] [meta-oe][PATCH] polkit: fixup 'installed but not shipped' error
Hongxu Jia
hongxu.jia at windriver.com
Tue Oct 16 07:35:17 UTC 2018
On 2018年10月16日 06:01, Khem Raj wrote:
> may be we can use bitbake variables here and also optimize it a bit if
> possible ?
> too many installs there
It is not the issue of polkit, but gobject-introspection.bbclass in oe-core,
I've sent the fix to oe-core.
Here is my fix:
commit 29b41806fa5679881efd04b0b41ecbf4ddd07d11
Author: Hongxu Jia <hongxu.jia at windriver.com>
Date: Tue Oct 16 15:31:23 2018 +0800
gobject-introspection.bbclass: fix gir installed but not shipped in
any package while multilib enabled
Since commit [9524330 gobject-introspection: fix multilib install
file conflicts] applied in oe-core, while multilib enabled, gir
files will be installed to `${libdir}'.
Refer above commit, modify gobject-introspection.bbclass to
split gir to package correctly.
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
diff --git a/meta/classes/gobject-introspection.bbclass
b/meta/classes/gobject-introspection.bbclass
index b6160b8..a323c1f 100644
--- a/meta/classes/gobject-introspection.bbclass
+++ b/meta/classes/gobject-introspection.bbclass
@@ -40,4 +40,4 @@ FILES_${PN}_append = " ${libdir}/girepository-*/*.typelib"
# .gir files go to dev package, as they're needed for developing (but
not for
# running) things that depends on introspection.
-FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir"
+FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir ${libdir}/gir-*/*.gir"
//Hongxu
>> + mv ${D}${libdir}/gir-1.0 ${D}/usr/share/.
>
More information about the Openembedded-devel
mailing list