diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-03-03 10:24:37 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-03 16:33:58 -0800 |
commit | 9a432a2328eb3eec3dbbc87bc697a706095d631d (patch) | |
tree | 953c4f8427e1220dfb57b5857f3751d0b0ed4416 /meta | |
parent | 976cb2d81da176809f09db5f976c6373e00a4f11 (diff) | |
download | poky-9a432a2328eb3eec3dbbc87bc697a706095d631d.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb new file mode 100644 index 0000000000..bbaba7144b --- /dev/null +++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy" | ||
2 | |||
3 | DESCRIPTION = "Chkconfig is a basic system utility. It updates and queries runlevel \ | ||
4 | information for system services. Chkconfig manipulates the numerous \ | ||
5 | symbolic links in /etc/rc.d, to relieve system administrators of some \ | ||
6 | of the drudgery of manually editing the symbolic links." | ||
7 | |||
8 | HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig" | ||
9 | |||
10 | LICENSE = "GPLv2" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018" | ||
12 | |||
13 | DEPENDS = "libnewt gettext popt" | ||
14 | |||
15 | PR = "r0" | ||
16 | |||
17 | SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${P}.tar.bz2" | ||
18 | SRC_URI[md5sum] = "9b5e91d25f4f3b21f4c0bdf55a721431" | ||
19 | SRC_URI[sha256sum] = "775100a9d6f70fbd8f33ed24b560b6842161fc496c21b1fc6d2aed646f9d855f" | ||
20 | |||
21 | inherit autotools | ||
22 | |||
23 | do_install_append() { | ||
24 | # mkdir -p ${D}/etc/rc.d/init.d | ||
25 | # mkdir -p ${D}/etc/rc.d/rc{0,1,2,3,4,5,6}.d | ||
26 | mkdir -p ${D}/etc/chkconfig.d | ||
27 | } | ||