[OE-core] [PATCH] sed: Fix unpackaged files warnings
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Mar 16 15:24:12 UTC 2012
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 at linuxfoundation.org>
---
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"
More information about the Openembedded-core
mailing list