grep: Fix QA warnings

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

(From OE-Core rev: 185f5491176335e98adcf903a40b6399d22850bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-03-16 13:15:15 +00:00
parent c739e19803
commit a6a866b585
1 changed files with 2 additions and 1 deletions

View File

@ -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} () {