From 1852ef8745f3fa4f5c4df777e5211a14d4817238 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 16 Mar 2012 13:04:01 +0000 Subject: [PATCH] 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 (From OE-Core rev: 9b62f4509e92fc8a88b923a3a77f9f27d7184a0f) Signed-off-by: Richard Purdie --- meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 6 ++++-- 1 file 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 2045728..17987a6 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 } -- 2.7.4