[oe-commits] Saul Wold : mktemp: fix packaging warnings

git at git.openembedded.org git at git.openembedded.org
Mon Mar 19 13:41:47 UTC 2012


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

Author: Saul Wold <sgw at linux.intel.com>
Date:   Fri Mar 16 16:13:10 2012 -0700

mktemp: fix packaging warnings

WARNING: For recipe mktemp, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/bin
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-extended/mktemp/mktemp_1.7.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb
index 65f542e..17b0c6f 100644
--- a/meta/recipes-extended/mktemp/mktemp_1.7.bb
+++ b/meta/recipes-extended/mktemp/mktemp_1.7.bb
@@ -5,7 +5,7 @@ SECTION = "console/utils"
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \
         file://disable-strip.patch \
@@ -22,6 +22,7 @@ EXTRA_OECONF = "--with-libc"
 do_install_append () {
 	mkdir ${D}${base_bindir}
 	mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp.${PN}
+	rmdir ${D}${bindir}
 }
 
 ALTERNATIVE_NAME = "mktemp"





More information about the Openembedded-commits mailing list