* [PATCH] cronie 1.4.7: fix packaging
@ 2011-04-21 9:24 Koen Kooi
2011-04-21 10:24 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Koen Kooi @ 2011-04-21 9:24 UTC (permalink / raw)
To: openembedded-core; +Cc: Koen Kooi
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>
---
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 7d6093a..6318d0e 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
--
1.6.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cronie 1.4.7: fix packaging
2011-04-21 9:24 [PATCH] cronie 1.4.7: fix packaging Koen Kooi
@ 2011-04-21 10:24 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-04-21 10:24 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On Thu, 2011-04-21 at 11:24 +0200, Koen Kooi wrote:
> 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>
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-21 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 9:24 [PATCH] cronie 1.4.7: fix packaging Koen Kooi
2011-04-21 10:24 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox