diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-12-04 02:31:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-05 15:32:17 +0000 |
commit | 10457e343b27e63b35e0278b00e9c25106b0cc1b (patch) | |
tree | ec2449229cc05ab4923c0761b64be912989d2cd3 /meta | |
parent | 96970cfa85941db205a7123e3f3349b4ff9c9fbf (diff) | |
download | openembedded-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.bbclass | 1 |
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 } |