summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/sysstat/sysstat_12.7.4.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat_12.7.4.bb b/meta/recipes-extended/sysstat/sysstat_12.7.4.bb
index 134fd5cf96..660bc634a0 100644
--- a/meta/recipes-extended/sysstat/sysstat_12.7.4.bb
+++ b/meta/recipes-extended/sysstat/sysstat_12.7.4.bb
@@ -48,9 +48,9 @@ do_install() {
48 install -m 0644 ${WORKDIR}/99_sysstat ${D}/etc/default/volatiles 48 install -m 0644 ${WORKDIR}/99_sysstat ${D}/etc/default/volatiles
49 fi 49 fi
50 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 50 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
51 install -d ${D}${sysconfdir}/tmpfiles.d 51 install -d ${D}${nonarch_libdir}/tmpfiles.d
52 echo "d ${localstatedir}/log/sa - - - -" \ 52 echo "d ${localstatedir}/log/sa - - - -" \
53 > ${D}${sysconfdir}/tmpfiles.d/sysstat.conf 53 > ${D}${nonarch_libdir}/tmpfiles.d/sysstat.conf
54 54
55 # Unless both cron and systemd are enabled, install our own 55 # Unless both cron and systemd are enabled, install our own
56 # systemd unit file. Otherwise the package will install one. 56 # systemd unit file. Otherwise the package will install one.
@@ -70,7 +70,11 @@ pkg_postinst:${PN} () {
70 fi 70 fi
71} 71}
72 72
73FILES:${PN} += "${systemd_system_unitdir} ${nonarch_base_libdir}/systemd" 73FILES:${PN} += " \
74 ${systemd_system_unitdir} \
75 ${nonarch_base_libdir}/systemd \
76 ${nonarch_libdir}/tmpfiles.d \
77"
74 78
75TARGET_CC_ARCH += "${LDFLAGS}" 79TARGET_CC_ARCH += "${LDFLAGS}"
76 80