[oe-commits] Martin Jansa : lzip: remove infodir
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 2 12:42:10 UTC 2014
Module: meta-openembedded.git
Branch: master-next
Commit: 8a1b2c88ef02cec1e78d223d041729a8ceebdfe0
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=8a1b2c88ef02cec1e78d223d041729a8ceebdfe0
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Mon Mar 31 13:38:11 2014 +0200
lzip: remove infodir
* doesn't use autotools.bbclass which removes infodir automatically
* fixes QA warning:
lzip-1.14: The /usr/share/info/dir file is not meant to be shipped in a particular package.
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/lzip/lzip_1.14.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-support/lzip/lzip_1.14.bb b/meta-oe/recipes-support/lzip/lzip_1.14.bb
index 8b4a3fb..3d8c090 100644
--- a/meta-oe/recipes-support/lzip/lzip_1.14.bb
+++ b/meta-oe/recipes-support/lzip/lzip_1.14.bb
@@ -35,6 +35,10 @@ do_configure () {
do_install () {
oe_runmake 'DESTDIR=${D}' install
+ # Info dir listing isn't interesting at this point so remove it if it exists.
+ if [ -e "${D}${infodir}/dir" ]; then
+ rm -f ${D}${infodir}/dir
+ fi
}
BBCLASSEXTEND += "native nativesdk"
More information about the Openembedded-commits
mailing list