Patchwork sed: Fix unpackaged files warnings

login
register
mail settings
Submitter Richard Purdie
Date March 16, 2012, 3:24 p.m.
Message ID <1331911452.18586.195.camel@ted>
Download mbox | patch
Permalink /patch/23695/
State Accepted
Commit 93ba71e53d3295e35ef3a1c424d0a348a66c2f22
Headers show

Comments

Richard Purdie - March 16, 2012, 3:24 p.m.
WARNING: For recipe sed, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/bin

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

Patch

diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb
index d775d44..9fbb6e7 100644
--- a/meta/recipes-extended/sed/sed_4.2.1.bb
+++ b/meta/recipes-extended/sed/sed_4.2.1.bb
@@ -4,7 +4,7 @@  LICENSE = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
                     file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f"
 SECTION = "console/utils"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz"
 
@@ -17,6 +17,7 @@  do_install () {
 	autotools_do_install
 	install -d ${D}${base_bindir}
 	mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
+	rmdir ${D}${bindir}/
 }
 
 ALTERNATIVE_NAME = "sed"