summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-12-04 02:31:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-05 15:32:17 +0000
commit10457e343b27e63b35e0278b00e9c25106b0cc1b (patch)
treeec2449229cc05ab4923c0761b64be912989d2cd3 /meta
parent96970cfa85941db205a7123e3f3349b4ff9c9fbf (diff)
downloadopenembedded-core-10457e343b27e63b35e0278b00e9c25106b0cc1b.tar.gz
openembedded-core-10457e343b27e63b35e0278b00e9c25106b0cc1b.tar.bz2
openembedded-core-10457e343b27e63b35e0278b00e9c25106b0cc1b.zip
distutils: remove empty datadir/share after it's content is moved to datadir
* fixes a lot of QA warnings about unpackaged /usr/share/share Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/distutils.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index c73b24f273..552e5f3a54 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -64,6 +64,7 @@ distutils_do_install() {
#
if test -e ${D}${datadir}/share; then
mv -f ${D}${datadir}/share/* ${D}${datadir}/
+ rmdir ${D}${datadir}/share
fi
}