[oe-commits] Richard Purdie : grep: Fix QA warnings

git at git.openembedded.org git at git.openembedded.org
Fri Mar 16 16:51:14 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 185f5491176335e98adcf903a40b6399d22850bf
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=185f5491176335e98adcf903a40b6399d22850bf

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Mar 16 13:15:15 2012 +0000

grep: Fix QA warnings

WARNING: For recipe grep, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/bin

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/grep/grep_2.9.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/grep/grep_2.9.bb b/meta/recipes-extended/grep/grep_2.9.bb
index 9099bed..1bc79f2 100644
--- a/meta/recipes-extended/grep/grep_2.9.bb
+++ b/meta/recipes-extended/grep/grep_2.9.bb
@@ -6,7 +6,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8006d9c814277c1bfc4ca22af94b59ee"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.gz"
 
@@ -27,6 +27,7 @@ do_install () {
 	mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN}
 	mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN}
 	mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN}
+	rmdir ${D}${bindir}/
 }
 
 pkg_postinst_${PN} () {





More information about the Openembedded-commits mailing list