diff options
Diffstat (limited to 'meta/recipes-extended/cronie')
-rw-r--r-- | meta/recipes-extended/cronie/cronie_1.4.8.bb | 12 |
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)}" | |||
18 | RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}" | 18 | RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}" |
19 | PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" | 19 | PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" |
20 | 20 | ||
21 | PR = "r2" | 21 | PR = "r3" |
22 | 22 | ||
23 | SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ | 23 | SRC_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 | ||
74 | FILES_${PN} += "${sysconfdir}/cron*" | 74 | FILES_${PN} += "${sysconfdir}/cron*" |