summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-16 13:04:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-16 16:45:15 +0000
commit9b62f4509e92fc8a88b923a3a77f9f27d7184a0f (patch)
treef722236ada5bb34ebadcfef31f7f60177b889402
parenta56ac74b3ddea8e55e5e558f3fd59ba7b5bec739 (diff)
downloadopenembedded-core-9b62f4509e92fc8a88b923a3a77f9f27d7184a0f.tar.gz
openembedded-core-9b62f4509e92fc8a88b923a3a77f9f27d7184a0f.tar.bz2
openembedded-core-9b62f4509e92fc8a88b923a3a77f9f27d7184a0f.zip
chkconfig: Fix unpackaged files warnings
WARNING: For recipe chkconfig, the following files/directories were installed but not shipped in any package: WARNING: /usr/man WARNING: /usr/man/man5 WARNING: /usr/man/man8 WARNING: /usr/man/man8/chkconfig.8 WARNING: /usr/man/man8/update-alternatives.8 WARNING: /usr/man/man8/ntsysv.8 WARNING: /usr/man/man8/alternatives.8 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
index 2045728c51..17987a660e 100644
--- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
+++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
DEPENDS = "libnewt popt"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
@@ -21,7 +21,9 @@ SRC_URI[sha256sum] = "18b497d25b2cada955c72810e45fcad8280d105f17cf45e2970f182712
inherit autotools gettext
+EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"'
+
do_install_append() {
mkdir -p ${D}/etc/chkconfig.d
- rm -f ${D}/usr/sbin/update-alternatives
+ rm -f ${D}${sbindir}/update-alternatives
}