mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
365bbbab06
commit
3d493f846b
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user