summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-16 13:15:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-16 16:45:48 +0000
commit185f5491176335e98adcf903a40b6399d22850bf (patch)
treec63a30c570a99b589b59bbd83c88e22c9e0ffa21
parent5fa6f6246ab21007aa39c2936382e8cff3fe9148 (diff)
downloadopenembedded-core-185f5491176335e98adcf903a40b6399d22850bf.tar.gz
openembedded-core-185f5491176335e98adcf903a40b6399d22850bf.tar.bz2
openembedded-core-185f5491176335e98adcf903a40b6399d22850bf.tar.xz
openembedded-core-185f5491176335e98adcf903a40b6399d22850bf.zip
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@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/grep/grep_2.9.bb3
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 9099bed2a..1bc79f21c 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} () {