diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-06-04 09:43:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-06 23:16:51 +0100 |
commit | 3d493f846bd684b1b0f52016258becebaeb0dfab (patch) | |
tree | 3892e6afd7af818fdde50383d3ccf1f67664a982 /meta/recipes-extended/sysstat | |
parent | 365bbbab069e0b2a54f8d372773d6b73d3421ec8 (diff) | |
download | poky-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.inc | 4 |
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 | ||
24 | EXTRA_OECONF += "--disable-stripping" | 24 | EXTRA_OECONF += "--disable-stripping" |
25 | 25 | ||
26 | SYSTEMD_PACKAGES = "${PN}" | ||
27 | SYSTEMD_SERVICE_${PN} = "sysstat.service" | ||
28 | SYSTEMD_AUTO_ENABLE = "enable" | ||
29 | |||
26 | do_configure_prepend() { | 30 | do_configure_prepend() { |
27 | export sa_lib_dir=${libexecdir}/sa | 31 | export sa_lib_dir=${libexecdir}/sa |
28 | } | 32 | } |