summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat.inc
AgeCommit message (Collapse)Author
2023-09-18sysstat: merge .inc into .bbAlexander Kanavin
(From OE-Core rev: 06fb5a80464c1cfbc7fd57da688d49a0edac5e98) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day
Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06sysstat: make the service start automaticallyMingli Yu
Make sysstat start automatically during bootup. (From OE-Core rev: e9401f17fe63bef2c3c79e63a9a549d4f450d6a0) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02sysstat: fix installed-vs-shipped QA Issue in systemdhongxu
While enabling systemd, there is QA issue: ... |ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories were installed but not shipped in any package: | /lib/systemd/system-sleep | /lib/systemd/system-sleep/sysstat.sleep ... https://www.freedesktop.org/software/systemd/man/systemd-sleep.html says the files should be dropped into /usr/lib/systemd/system-sleep (that would be /lib/systemd/system-sleep in our configuration). By moving the files to another directory they'll be packaged but not loaded by systemd. Suggested-by Ross Burton <ross@burtonini.com> (From OE-Core rev: 3bdd40ea09e50067f11c12290ab465a9ef229fc4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27sysstat: don't version the documentation folderRoss Burton
(From OE-Core rev: e501f13fabb89fbb967ef44d48acb4b64b2f00d2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27sysstat: remove default valuesRoss Burton
(From OE-Core rev: d0c50bf0f3a264cc424ffbdeff94b2f556095483) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-21sysstat: upstream version check is working againAlexander Kanavin
As upstream has released a new stable version, the exception is no longer needed. (From OE-Core rev: fa99c061275cd96cf375ff60d1c73a6e818dca25) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-14sysstat: Correct when to use the package provided systemd unit filesPeter Kjellerstedt
There have been a number of changes back and forth as to when and how to use the systemd unit files provided by the package. The correct condition is actually that both cron and systemd need to be enabled for them to be installed. (From OE-Core rev: d6c975160197f67937dfbe91b08100b0f597c589) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-14sysstat: Correct our systemd unit filePeter Kjellerstedt
In commit 8862f21e (sysstat: 12.1.3 -> 12.1.6), sa_lib_dir was changed from "${libdir}/sa" to "${libexecdir}/sa" to avoid problems with multilib. However, the systemd unit file was not changed accordingly, which lead to the following error when trying to start the service: systemd[4698]: sysstat.service: Failed at step EXEC spawning /usr/lib/sa/sa1: No such file or directory (From OE-Core rev: 0fd691b9801b5313ff2e2c2cd5ca13fd50063235) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07sysstat: 12.1.3 -> 12.1.6Kai Kang
Update sysstat from 12.1.3 to 12.1.6. * make sa_lib_dir refer to ${libexecdir}/sa to fix conflictions when multilib is enabled (From OE-Core rev: 8862f21eeb814c64b8b9e662b093ed39474cd55b) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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-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>
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>
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-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-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-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>
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-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-08-30sysstat: Explicitly disable sensors support.Marc Ferland
Since no lmsensors recipe exists by default in oe-core, explicitly disable support for it in sysstat. In my case sysstat would fail linking complaining about undefined references when adding my own lmsensors recipe. (From OE-Core rev: 686a2b5201aa5ebe46162a0ad9d60d87c63486e0) Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-08sysstat: don't run populate-volatile.sh update in do_rootfs, first boot or ↵Martin Jansa
without populate-volatile.sh (From OE-Core rev: 6bf82c26f95359c08611bc9a44accf1593b2a850) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23sysstat: Avoid stripping binariesMark Hatle
(From OE-Core rev: 1817d3b3a18e596d531435734e2fc6423b739905) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19sysstat: fix libc overridesKoen Kooi
(From OE-Core rev: 200f788701f773ed42bd91eb9825e15e67466d09) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-09sysstat.inc: Switch to inherit gettextTom Rini
This needs to use both virtual/libnl as well as gettext-native in order to build. So we switch to using inherit gettext. This is 4a022cf3fe3e39aab478bfc13332d358ed80348c from OE where it was tested with qemuarm+angstrom-2010.x+eglibc and qemuarm+minimal-uclibc. (From OE-Core rev: d7d9d5ec43a2f8c1f694432f004619e3e72ed5bf) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-16recipes-extended: Add Summary informationMark Hatle
Add Summary information and update descriptions as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>