summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-06-04 09:43:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-06 23:16:51 +0100
commit3d493f846bd684b1b0f52016258becebaeb0dfab (patch)
tree3892e6afd7af818fdde50383d3ccf1f67664a982 /meta/recipes-extended/sysstat
parent365bbbab069e0b2a54f8d372773d6b73d3421ec8 (diff)
downloadpoky-3d493f846bd684b1b0f52016258becebaeb0dfab.tar.gz
sysstat: make the service start automatically
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>
Diffstat (limited to 'meta/recipes-extended/sysstat')
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index e5e134c038..f97b88d493 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -23,6 +23,10 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}"
23 23
24EXTRA_OECONF += "--disable-stripping" 24EXTRA_OECONF += "--disable-stripping"
25 25
26SYSTEMD_PACKAGES = "${PN}"
27SYSTEMD_SERVICE_${PN} = "sysstat.service"
28SYSTEMD_AUTO_ENABLE = "enable"
29
26do_configure_prepend() { 30do_configure_prepend() {
27 export sa_lib_dir=${libexecdir}/sa 31 export sa_lib_dir=${libexecdir}/sa
28} 32}