summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat
AgeCommit message (Collapse)Author
2019-07-15sysstat: Use sysstat.service in source for cron with systemdHaiqing Bai
The sysstat.service script in source launchs sysstat-collect and sysstat-summary services when cron is installed with systemd. At this time, the upstream sysstat.service must be installed. (From OE-Core rev: 06a596ff8100f4a6506ff8d7f9ec93dd6aac6cb2) Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15Revert "sysstat: use service file from source codes"Ross Burton
This doesn't actually work as the unit file is only installed if cron support is enabled. This reverts commit 721f09d4897425c7131470bd756eee1b90937feb. (From OE-Core rev: 559465348de5210c7d29361f79666b62bd6660aa) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10sysstat: use service file from source codesChen Qi
Use service file from sysstat source codes. (From OE-Core rev: 2266c8f627af71b89628c25dc412977054ebcd4a) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19systat: systemd never enables the serviceStefano Babic
Even if SYSTEMD_AUTO_ENABLE is set to "enable", the service is never activated by systemd. The cause is the postinst function in the recipe: pkg_postinst_${PN} () { if [ -n "$D" ]; then exit 0 fi if [ -e /etc/init.d/populate-volatile.sh ]; then /etc/init.d/populate-volatile.sh update fi } This generates with activated systemd the following postinst script: set -e if [ -n "$D" ]; then exit 0 fi if [ -e /etc/init.d/populate-volatile.sh ]; then /etc/init.d/populate-volatile.sh update fi OPTS="" if [ -n "$D" ]; then OPTS="--root=$D" fi if type systemctl >/dev/null 2>/dev/null; then if [ -z "$D" ]; then systemctl daemon-reload fi systemctl $OPTS enable sysstat.service if [ -z "$D" -a "enable" = "enable" ]; then systemctl --no-block restart sysstat.service fi fi Due to the exit statement, systemctl is never called and the service is never enabled in rootfs. Invert the logic for the check to let run the rest of postinst script. (From OE-Core rev: 24ccfd80edb74871d0d69ddbe83c358f04ac0844) Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01sysstat: add UPSTREAM_VERSION_UNKNOWNAlexander Kanavin
We are taking a development version from an odd-even versioned project, so upstream version check reports that the latest version is less than the one the recipe is using. UPSTREAM_VERSION_UNKNOWN avoids a version check failure until there is a new stable series. (From OE-Core rev: 0e7a4a14dc63588cfd5f6adff527f7613bb69c55) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' optionHaiqing Bai
If 'cron' is added into PACKAGECONFIG, for sysvinit, the related cron scripts will be installed; for systemd, the services of data collect and summary will be installed. (From OE-Core rev: 3ee977629331843cc811b6571d13fa02f5593a10) Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09sysstat: inherit upstream-version-is-evenAdrian Bunk
Currently a development version is being used. (From OE-Core rev: ddc2baa8b7ef6ecd6ed450bb8b3ed986b6797d9f) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-20sysstat: upgrade to 12.1.3Chen Qi
(From OE-Core rev: ca407f2409328740dac7af34e0e6a0ede578cb2f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-05sysstat: upgrade to 12.1.1Chen Qi
(From OE-Core rev: af912ac17f406ff11319eb33bc0d3910bcea39ef) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24sysstat: upgrade 11.7.3 -> 11.7.4Ross Burton
(From OE-Core rev: 8a50ab1ebf1b9b274521c194662d9144f99304fc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-15sysstat: upgrade to 11.7.3Chen Qi
(From OE-Core rev: cbfabe9aeb2d1876a41119df126cdac3034762ab) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11sysstat: refresh patchesRoss Burton
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 53f2bbba35c63afa14c5fcb33b83b0ee061840ca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07sysstat: refresh patchesRoss Burton
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 4a0c9bb514ff3d6966f1da480cd48c076403f58d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06sysstat: 11.6.1 -> 11.7.1Huang Qiyu
Upgrade sysstat from 11.6.1 to 11.7.1. (From OE-Core rev: 5a6c5234c8685e205ae16729b82288dc8f687122) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-21sysstat: upgrade to 11.6.1Chen Qi
(From OE-Core rev: abe2c55b719bdff40d9d423a84bfde08d9e09631) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-11sysstat: Add ability to enable lm-sensorsMark Hatle
Add lm-sensors PACKAGECONFIG option. Change from setting LFLAGS="" to --disable-strip, otherwise lm-sensors will not link properly. (From OE-Core rev: ff9f629d70a9016f8f40d3d68c80111897c7a2c3) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16sysstat: fix creating configuration file for /var/log/saChen Qi
Fix to create configuration file related to /var/log/sa for sysvinit and systemd systems respectively. (From OE-Core rev: 652e515cbdf0f6314b63ec52b9fcac42299c3d60) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-27sysstat: upgrade to 11.5.7Chen Qi
(From OE-Core rev: 6ee5abcc67c35d390d12bbc906787b87df80be3b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-06sysstat:11.5.5 -> 11.5.6susanbian
Upgrade sysstat from 11.5.5 to 11.5.6. (From OE-Core rev: 7b8ae7711273e32a187830c7fab493e6fbb065c3) Signed-off-by: susanbian <bianyq@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-22meta: Drop remnants of uclibc supportRichard Purdie
uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. (From OE-Core rev: 653704e9cf325cb494eb23facca19e9f05132ffd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-09sysstat: upgrade to 11.5.5Chen Qi
(From OE-Core rev: 5639c36ab221e0764884374d7741805a93772cf7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23sysstat: upgrade to 11.5.4Chen Qi
(From OE-Core rev: d6d3346a2e465c1fc0e8e0896d8c6e7e1c49ee32) (From OE-Core rev: a4d453cc614c2473719e0d36b78c6e0349796f9e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16sysstat: upgrade to 11.5.3Chen Qi
(From OE-Core rev: 21c8a422cd115e726ce8451b5ea998d7a830f113) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-05sysstat: 11.3.5 -> 11.4.0Wang Xin
Upgrade sysstat from 11.3.5 to 11.4.0. (From OE-Core rev: 3ec68a97d7addc857425a6e3cf0a219913d99c59) Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-20sysstat: upgrade to 11.3.5Chen Qi
(From OE-Core rev: 3434f3cfe40d140fec2660d24508eeeaec4f66a8) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15sysstat: upgrade to 11.3.4Chen Qi
The license checksum is changed but the license remains the same. (From OE-Core rev: 01990eb1c868710cd4fb7b52057cd2eb1713c595) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-29meta: add comments to explain autotools-brokensep useRoss Burton
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-20sysstat: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 79063289caa220b678fa226739ed0e9f780e3af3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-15sysstat: upgrade to 11.2.0Chen Qi
(From OE-Core rev: a3c58ee3d90938d50a8c5883e3e2d818ff9ba26b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16meta: more removals of redunant FILES_${PN}-dbgRoss Burton
In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. (From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08package_regex.inc: split the rest of the entries to their recipesAlexander Kanavin
(From OE-Core rev: 73e2555cc7d529a93362b3fcfea3fbc7a4c60ca1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23sysstat: Include needed headers explicitlyKhem Raj
It depends on defines from .h files that are not includes as part of source file, on glibc it works because they get included indirectly but that can change any time since its internal glibc behaviour, at user level the header needed should be explicitly included. (From OE-Core rev: 2a19b13bdd5ab1505464c4c4bc0129a9a8ee0c7c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-03sysstat: add systemd service filesLi xin
Add sysstat.service to support systemd systems. (From OE-Core rev: 3278af2266a078351a4f614c79bfbea2514566a1) Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-01sysstat: upgrade to 11.1.5Chen Qi
(From OE-Core rev: 2fa7214ddf4a9548ec954181f951fbfcc197a83b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-11sysstat: DEPENDS on base-passwdRobert Yang
Fixed: | install -m 644 -g man man/sa1.8 /path/to/tmp/work/i586-poky-linux/sysstat/11.1.4-r0/image/usr/share/man/man8 | install: invalid group `man' (From OE-Core rev: 153c3dd4d4c5eab52b953901fb6bc681c349a710) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27sysstat: upgrade to 11.1.4Chen Qi
(From OE-Core rev: ce3a3ce3246af8be9b276248b7fc756e7e6a8be1) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-10sysstat: upgrade to 11.1.3Chen Qi
(From OE-Core rev: 0d54f7fcdb57fe5e957e220df1053b470b1c5009) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16sysstat: upgrade to stable version 11.0.2Chen Qi
(From OE-Core rev: df4224f151c3d5a7f6fd33ed44abd2e3bfc5c8b0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie
This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-13sysstat: upgrade to 10.2.1Chen Qi
Upgrade sysstat to stable release 10.2.1. (From OE-Core rev: 7406a31a40d18b88de517891f163d002a5f75d78) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-20sysstat: upgrade to 10.2.0Saul Wold
Cleanup by moving files to $PN (From OE-Core rev: b9d63e318c2d8edb9b360544cca4c76be2904552) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-18sysstat: upgrade to 10.1.7Saul Wold
Remove patch that was backported and from verion we updated to Also cleanup white space (From OE-Core rev: 849fbd50a52f1aa0330b47993d38a0f7812977c7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-02sysstat: backport a patch to fix a parallel building errorRoy.Li
(From OE-Core rev: 3e1dbabbf33a2e461abc92ff10cd970fe604ee38) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13sysstat: Update to 10.1.6Saul Wold
(From OE-Core rev: 2f27ca61d4f5bd3042ea9aefc2d2824e554daa69) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29sysstat: Update to 10.1.5Saul Wold
(From OE-Core rev: 7e59a2ccfcb5cab3529068f90fea19fda28c7261) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18sysstat: Update to 10.1.4Saul Wold
(From OE-Core rev: 22d7ca4885f61ebbaa6e280858523f062f447a05) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28sysstat: Update to 10.1.3Saul Wold
(From OE-Core rev: a9a39d944046d29e4870b4449921095c797b55fa) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07sysstat: fix sa_lib_dirConstantin Musca
Fix the following warning: WARNING: QA Issue: sysstat: Files/directories were installed but not shipped /usr/lib /usr/lib/sa /usr/lib/sa/sadc /usr/lib/sa/sa2 /usr/lib/sa/sa1 /usr/lib/sa/.debug /usr/lib/sa/.debug/sadc (From OE-Core rev: 0da1e769a57c96299dce93b34ec67c2809da8998) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-20sysstat: Update to 10.1.2Saul Wold
(From OE-Core rev: 6e1a032c6a2642399c5d32028c597a5affbedce1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-12sysstat: upgrade to 10.1.1Constantin Musca
(From OE-Core rev: a1d83d6aba91dad4935804801114d9d50ee0fab9) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>