When building with 'installed-vs-shipped' QA check enabled you will see the following when building polkit:
ERROR: polkit-0.115-r0 do_package: QA Issue: polkit: Files/directories were installed but not shipped in any package: /usr/lib64/gir-1.0 /usr/lib64/gir-1.0/Polkit-1.0.gir /usr/lib64/gir-1.0/PolkitAgent-1.0.gir Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. polkit: 3 installed and not shipped files. [installed-vs-shipped] ERROR: polkit-0.115-r0 do_package: Fatal QA errors found, failing task. This is a result of the gobject instrospection GIR files not being included in any package. Create a do_install_append() to move these files to '/usr/share' where they will be picked up by the -dev package. This is also the commonly used location for these files. Signed-off-by: Mark Asselstine <mark.asselst...@windriver.com> --- meta-oe/recipes-extended/polkit/polkit_0.115.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta-oe/recipes-extended/polkit/polkit_0.115.bb b/meta-oe/recipes-extended/polkit/polkit_0.115.bb index ad0f66a..ffaacaa 100644 --- a/meta-oe/recipes-extended/polkit/polkit_0.115.bb +++ b/meta-oe/recipes-extended/polkit/polkit_0.115.bb @@ -53,3 +53,12 @@ USERADD_PARAM_${PN} = "--system --no-create-home --user-group --home-dir ${sysco SYSTEMD_SERVICE_${PN} = "${BPN}.service" SYSTEMD_AUTO_ENABLE = "disable" + +do_install_append () { + # should always be true since we inherit gobject-introspection, but let's just be sure + if [ -d ${D}${libdir}/gir-1.0 ]; then + install -d ${D}/usr + install -d ${D}/usr/share + mv ${D}${libdir}/gir-1.0 ${D}/usr/share/. + fi +} -- 2.7.4 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel