summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/cronie/cronie_1.4.7.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/cronie/cronie_1.4.7.bb b/meta/recipes-extended/cronie/cronie_1.4.7.bb
index 7d6093a470..6318d0ec58 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.7.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.7.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \
14 14
15SECTION = "utils" 15SECTION = "utils"
16 16
17PR = "r1" 17PR = "r2"
18 18
19SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ 19SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
20 file://crond.init \ 20 file://crond.init \
@@ -37,13 +37,15 @@ do_install_append () {
37 # below are necessary for a complete cron environment 37 # below are necessary for a complete cron environment
38 install -d ${D}${localstatedir}/spool/cron 38 install -d ${D}${localstatedir}/spool/cron
39 install -m 0755 ${WORKDIR}/crontab ${D}${sysconfdir}/ 39 install -m 0755 ${WORKDIR}/crontab ${D}${sysconfdir}/
40 mkdir -p ${D}${sysconfdir}/cron.d 40 mkdir -p ${D}${sysconfdir}/cron.d
41 mkdir -p ${D}${sysconfdir}/cron.hourly 41 mkdir -p ${D}${sysconfdir}/cron.hourly
42 mkdir -p ${D}${sysconfdir}/cron.daily 42 mkdir -p ${D}${sysconfdir}/cron.daily
43 mkdir -p ${D}${sysconfdir}/cron.weekly 43 mkdir -p ${D}${sysconfdir}/cron.weekly
44 mkdir -p ${D}${sysconfdir}/cron.monthly 44 mkdir -p ${D}${sysconfdir}/cron.monthly
45} 45}
46 46
47FILES_${PN} += "${sysconfdir}/cron*"
48
47pkg_postinst_${PN} () { 49pkg_postinst_${PN} () {
48 if [ "x$D" != "x" ] ; then 50 if [ "x$D" != "x" ] ; then
49 exit 1 51 exit 1