[oe] [PATCH] libunique: fix installed-vs-shipped qa issue

kai.kang at windriver.com kai.kang at windriver.com
Mon Nov 5 05:59:15 UTC 2018


From: Kai Kang <kai.kang at windriver.com>

libunique shows installed-vs-shipped QA issue if configure option
'--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not
   supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
   EXTRA_OECONF_append_pn-libunique = " --disable-introspection"

Remove empty directory to fix the QA issue.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
index 49ed07ad9..a6475cef6 100644
--- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
+++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc
 
 REQUIRED_DISTRO_FEATURES = "x11"
+
+do_install_append () {
+    rmdir --ignore-fail-on-non-empty ${D}${datadir}
+}
-- 
2.19.0.rc2




More information about the Openembedded-devel mailing list