sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option
PATCH v4 1/1 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.
Signed-off-by Haiqing Bai <[email protected]>
--- meta/recipes-extended/sysstat/sysstat.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/sysstat/sysstat.inc +2 -2
@@ -19,6 +19,7 @@ inherit autotools-brokensep gettext systemd 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"
@@ -59,7 +60,6 @@ pkg_postinst_${PN} () { fi } - -FILES_${PN} += "${libdir}/sa" +FILES_${PN} += "${libdir}/sa ${systemd_system_unitdir}" TARGET_CC_ARCH += "${LDFLAGS}"
Signature · 1 line
2.18.1