[oe-commits] Martin Jansa : lzip: remove infodir

git at git.openembedded.org git at git.openembedded.org
Tue Apr 1 17:15:23 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 452133ad550e61cfd0463d88a47e8b3ba244e473
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=452133ad550e61cfd0463d88a47e8b3ba244e473

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