From: Mingli Yu Date: Fri, 4 Jun 2021 01:43:12 +0000 (+0800) Subject: sysstat: make the service start automatically X-Git-Tag: uninative-3.3~531 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e9401f17fe63bef2c3c79e63a9a549d4f450d6a0;p=openembedded-core.git sysstat: make the service start automatically Make sysstat start automatically during bootup. Signed-off-by: Mingli Yu Signed-off-by: Richard Purdie --- 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}" EXTRA_OECONF += "--disable-stripping" +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE_${PN} = "sysstat.service" +SYSTEMD_AUTO_ENABLE = "enable" + do_configure_prepend() { export sa_lib_dir=${libexecdir}/sa }