[oe] [meta-oe][PATCH 40/46] lzip: remove infodir
Martin Jansa
martin.jansa at gmail.com
Tue Apr 1 17:13:48 UTC 2014
* 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"
--
1.9.1
More information about the Openembedded-devel
mailing list