recipe: add chkconfig for LSB command test

chkconfig is a system tool for maintaining the /etc/rc*.d hierarchy,
and LSB command test will check 2 links point to command  chkconfig

(From OE-Core rev: 994cb5be07270b8414d46e01ed7888e2de448589)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kang Kai 2011-03-03 10:24:37 +08:00 committed by Richard Purdie
parent 9e6b1ac4b8
commit b9c46b377c
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy"
DESCRIPTION = "Chkconfig is a basic system utility. It updates and queries runlevel \
information for system services. Chkconfig manipulates the numerous \
symbolic links in /etc/rc.d, to relieve system administrators of some \
of the drudgery of manually editing the symbolic links."
HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
DEPENDS = "libnewt gettext popt"
PR = "r0"
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${P}.tar.bz2"
SRC_URI[md5sum] = "9b5e91d25f4f3b21f4c0bdf55a721431"
SRC_URI[sha256sum] = "775100a9d6f70fbd8f33ed24b560b6842161fc496c21b1fc6d2aed646f9d855f"
inherit autotools
do_install_append() {
# mkdir -p ${D}/etc/rc.d/init.d
# mkdir -p ${D}/etc/rc.d/rc{0,1,2,3,4,5,6}.d
mkdir -p ${D}/etc/chkconfig.d
}