summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat_12.1.6.bb
diff options
context:
space:
mode:
authorWenlin Kang <wenlin.kang@windriver.com>2019-11-05 18:04:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-25 17:57:23 +0000
commit491d3708618e6a2924eee6c8901363680c08a90f (patch)
tree7c2fb3231fb48aa7aec29ce60699aa8fca824152 /meta/recipes-extended/sysstat/sysstat_12.1.6.bb
parentfb0a025f81711afa5852c1a0cd4dcf8d05541e9a (diff)
downloadpoky-491d3708618e6a2924eee6c8901363680c08a90f.tar.gz
sysstat: remove check for chkconfig
For cross-platform, chkconfig can't work, so should remove check for it. This can only be reproduced on some platform with chkconfig(e.g. CentOS Linux release 7.2.1511), and need with --enable-install-cron and without --enable-copy-only. Fixed: | if [ "n" == "n" ]; then \ | if [ -x "/usr/sbin/chkconfig" ]; then \ | cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/init.d && /usr/sbin/chkconfig --add sysstat; \ | else \ | [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d; \ | [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d; \ | [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d; \ | cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d && ln -s -f ../init.d/sysstat S01sysstat; \ | cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d && ln -s -f ../init.d/sysstat S01sysstat; \ | cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d && ln -s -f ../init.d/sysstat S01sysstat; \ | fi \ | fi \ | elif [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d ]; then \ | ... | fi | error reading information on service sysstat: No such file or directory | Makefile:382: recipe for target 'install_all' failed (From OE-Core rev: d193caa4bd94661b87393719d72d6e9cacc60439) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat_12.1.6.bb')
-rw-r--r--meta/recipes-extended/sysstat/sysstat_12.1.6.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat_12.1.6.bb b/meta/recipes-extended/sysstat/sysstat_12.1.6.bb
index 362888d506..83bb45ea25 100644
--- a/meta/recipes-extended/sysstat/sysstat_12.1.6.bb
+++ b/meta/recipes-extended/sysstat/sysstat_12.1.6.bb
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a23a74b3f4caf9616230789d94217acb"
4 4
5SRC_URI += "file://0001-Include-needed-headers-explicitly.patch \ 5SRC_URI += "file://0001-Include-needed-headers-explicitly.patch \
6 file://0001-Fix-232-Memory-corruption-bug-due-to-Integer-Overflo.patch \ 6 file://0001-Fix-232-Memory-corruption-bug-due-to-Integer-Overflo.patch \
7 file://0001-configure.in-remove-check-for-chkconfig.patch \
7" 8"
8 9
9SRC_URI[md5sum] = "d8e3bbb9c873dd370f6d33664e326570" 10SRC_URI[md5sum] = "d8e3bbb9c873dd370f6d33664e326570"