summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cronie
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/cronie')
-rw-r--r--meta/recipes-extended/cronie/cronie_1.4.8.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-extended/cronie/cronie_1.4.8.bb b/meta/recipes-extended/cronie/cronie_1.4.8.bb
index 2d256277bc..ce59437ecd 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.8.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.8.bb
@@ -18,7 +18,7 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
18RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}" 18RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
19PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" 19PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
20 20
21PR = "r2" 21PR = "r3"
22 22
23SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ 23SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
24 file://crond.init \ 24 file://crond.init \
@@ -61,14 +61,14 @@ do_install_append () {
61 # below setting is necessary to allow normal user using crontab 61 # below setting is necessary to allow normal user using crontab
62 62
63 # setgid for crontab binary 63 # setgid for crontab binary
64 chown root:crontab ${D}/usr/bin/crontab 64 chown root:crontab ${D}${bindir}/crontab
65 chmod 2755 ${D}/usr/bin/crontab 65 chmod 2755 ${D}${bindir}/crontab
66 66
67 # allow 'crontab' group write to /var/spool/cron 67 # allow 'crontab' group write to /var/spool/cron
68 chown root:crontab ${D}/var/spool/cron 68 chown root:crontab ${D}${localstatedir}/spool/cron
69 chmod 770 ${D}/var/spool/cron 69 chmod 770 ${D}${localstatedir}/spool/cron
70 70
71 chmod 600 ${D}/etc/crontab 71 chmod 600 ${D}${sysconfdir}/crontab
72} 72}
73 73
74FILES_${PN} += "${sysconfdir}/cron*" 74FILES_${PN} += "${sysconfdir}/cron*"