From abeb2e95c6e5b286283dfe7198d5a222f7139458 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Thu, 26 Aug 2021 05:42:06 -0400 Subject: systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}' Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-extended/cronie/cronie_1.5.7.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-extended/cronie') diff --git a/meta/recipes-extended/cronie/cronie_1.5.7.bb b/meta/recipes-extended/cronie/cronie_1.5.7.bb index 2cbae591b0..72a45089fd 100644 --- a/meta/recipes-extended/cronie/cronie_1.5.7.bb +++ b/meta/recipes-extended/cronie/cronie_1.5.7.bb @@ -50,11 +50,11 @@ do_install:append () { install -m 0755 ${WORKDIR}/crond.init ${D}${sysconfdir}/init.d/crond # install systemd unit files - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_system_unitdir} sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ -e 's,@SBINDIR@,${sbindir},g' \ - ${D}${systemd_unitdir}/system/crond.service + ${D}${systemd_system_unitdir}/crond.service # below are necessary for a complete cron environment install -d ${D}${localstatedir}/spool/cron -- cgit v1.2.3-54-g00ecf