diff options
author | Haiqing Bai <Haiqing.Bai@windriver.com> | 2019-05-16 09:50:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-16 16:35:12 +0100 |
commit | 15d400f1e2ca1e760c10a912617c6b38ebb43243 (patch) | |
tree | 5a01b0ca0ac21a55b2b39337e02833af1de16128 | |
parent | 479c981d451ab735691e74965937ddf4e8fceffa (diff) | |
download | poky-15d400f1e2ca1e760c10a912617c6b38ebb43243.tar.gz |
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>
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc index 9228fc29c2..7f4749f571 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc +++ b/meta/recipes-extended/sysstat/sysstat.inc | |||
@@ -18,6 +18,7 @@ inherit autotools-brokensep gettext systemd upstream-version-is-even | |||
18 | 18 | ||
19 | PACKAGECONFIG ??= "" | 19 | PACKAGECONFIG ??= "" |
20 | PACKAGECONFIG[lm-sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors" | 20 | PACKAGECONFIG[lm-sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors" |
21 | PACKAGECONFIG[cron] = "--enable-install-cron --enable-copy-only,--disable-install-cron --disable-copy-only" | ||
21 | 22 | ||
22 | EXTRA_OECONF += "--disable-stripping" | 23 | EXTRA_OECONF += "--disable-stripping" |
23 | 24 | ||
@@ -58,7 +59,6 @@ pkg_postinst_${PN} () { | |||
58 | fi | 59 | fi |
59 | } | 60 | } |
60 | 61 | ||
61 | 62 | FILES_${PN} += "${libdir}/sa ${systemd_system_unitdir}" | |
62 | FILES_${PN} += "${libdir}/sa" | ||
63 | 63 | ||
64 | TARGET_CC_ARCH += "${LDFLAGS}" | 64 | TARGET_CC_ARCH += "${LDFLAGS}" |