mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option
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>
This commit is contained in:
committed by
Richard Purdie
parent
479c981d45
commit
15d400f1e2
@@ -18,6 +18,7 @@ inherit autotools-brokensep gettext systemd upstream-version-is-even
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[lm-sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors"
|
||||
PACKAGECONFIG[cron] = "--enable-install-cron --enable-copy-only,--disable-install-cron --disable-copy-only"
|
||||
|
||||
EXTRA_OECONF += "--disable-stripping"
|
||||
|
||||
@@ -58,7 +59,6 @@ pkg_postinst_${PN} () {
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
FILES_${PN} += "${libdir}/sa"
|
||||
FILES_${PN} += "${libdir}/sa ${systemd_system_unitdir}"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
Reference in New Issue
Block a user