summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 11:34:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 00:10:54 +0000
commita85f283ffae5407b23532ce2262142ee2d986af2 (patch)
treee79e99b760c290059a721cc9972044e06a8650d5 /meta/recipes-core
parentf9b184b9454da8374de7351af8619d0201d6f843 (diff)
downloadopenembedded-core-a85f283ffae5407b23532ce2262142ee2d986af2.tar.gz
openembedded-core-a85f283ffae5407b23532ce2262142ee2d986af2.tar.bz2
openembedded-core-a85f283ffae5407b23532ce2262142ee2d986af2.tar.xz
openembedded-core-a85f283ffae5407b23532ce2262142ee2d986af2.zip
glib-2.0: Fix unpackaged files warning
WARNING: For recipe glib-2.0, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gio WARNING: /usr/lib/gio/modules Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb
index 111f9a41b..e2170bca6 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb
@@ -1,6 +1,6 @@
require glib.inc
-PR = "r4"
+PR = "r5"
PE = "1"
DEPENDS += "libffi python-argparse-native zlib"
@@ -35,6 +35,9 @@ do_install_append() {
# remove some unpackaged files
rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyc
rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyo
+ # and empty dirs
+ rmdir ${D}${libdir}/gio/modules/
+ rmdir ${D}${libdir}/gio/
}
PACKAGES += "${PN}-codegen"