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 11:24:21 +0100 |
commit | 4ba1d06b51d77f4bb1f542ba26328f718161a92a (patch) | |
tree | 9f3695c4e3ac6444f74f78f67b8590f4dff758a1 /meta/recipes-extended | |
parent | 9a5a783fb131aef98540a81ea6697031a7a429e0 (diff) | |
download | openembedded-core-4ba1d06b51d77f4bb1f542ba26328f718161a92a.tar.gz openembedded-core-4ba1d06b51d77f4bb1f542ba26328f718161a92a.tar.bz2 openembedded-core-4ba1d06b51d77f4bb1f542ba26328f718161a92a.tar.xz openembedded-core-4ba1d06b51d77f4bb1f542ba26328f718161a92a.zip |
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
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-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 7d6093a47..6318d0ec5 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 \ SECTION = "utils" -PR = "r1" +PR = "r2" SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ file://crond.init \ @@ -37,13 +37,15 @@ do_install_append () { # below are necessary for a complete cron environment install -d ${D}${localstatedir}/spool/cron install -m 0755 ${WORKDIR}/crontab ${D}${sysconfdir}/ - mkdir -p ${D}${sysconfdir}/cron.d + mkdir -p ${D}${sysconfdir}/cron.d mkdir -p ${D}${sysconfdir}/cron.hourly mkdir -p ${D}${sysconfdir}/cron.daily mkdir -p ${D}${sysconfdir}/cron.weekly mkdir -p ${D}${sysconfdir}/cron.monthly } +FILES_${PN} += "${sysconfdir}/cron*" + pkg_postinst_${PN} () { if [ "x$D" != "x" ] ; then exit 1 |