diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-04-21 11:24:29 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 12:56:03 +0100 |
| commit | 7342b416fa583bfe8243c71858eafd65ae408e40 (patch) | |
| tree | 54f15443b63c4c2279454ea6ac39d094d7440244 | |
| parent | aabad28c94d5f14f6e050b5c92b01ccb89b60e16 (diff) | |
| download | poky-7342b416fa583bfe8243c71858eafd65ae408e40.tar.gz | |
cronie 1.4.7: fix packaging
Syslog is full with entries like:
/usr/sbin/crond[773]: (CRON) STAT FAILED (/etc/cron.d): No such file or directory
Checking the package yields
Package cronie (1.4.6-r0) is installed on root and has the following files:
/usr/sbin/crond
/etc/init.d/crond
/usr/bin/crontab
/etc/sysconfig/crond
Which is missing most of what do_install_append installs, this commit fixes that
(From OE-Core rev: 4ba1d06b51d77f4bb1f542ba26328f718161a92a)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/cronie/cronie_1.4.7.bb | 6 |
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 | ||
| 15 | SECTION = "utils" | 15 | SECTION = "utils" |
| 16 | 16 | ||
| 17 | PR = "r1" | 17 | PR = "r2" |
| 18 | 18 | ||
| 19 | SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ | 19 | SRC_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 | ||
| 47 | FILES_${PN} += "${sysconfdir}/cron*" | ||
| 48 | |||
| 47 | pkg_postinst_${PN} () { | 49 | pkg_postinst_${PN} () { |
| 48 | if [ "x$D" != "x" ] ; then | 50 | if [ "x$D" != "x" ] ; then |
| 49 | exit 1 | 51 | exit 1 |
