* [PATCH 1/1] cronie: build cronie with --with-syscrontab
@ 2013-10-10 13:36 yaoxp
2013-10-31 17:20 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: yaoxp @ 2013-10-10 13:36 UTC (permalink / raw)
To: openembedded-core
Hi all,
If build cronie without --with-syscrontab, the /etc/crontab will not work.
Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
---
meta/recipes-extended/cronie/cronie_1.4.9.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-extended/cronie/cronie_1.4.9.bb b/meta/recipes-extended/cronie/cronie_1.4.9.bb
index 7db0381..0fbb815 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.9.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.9.bb
@@ -34,7 +34,9 @@ SRC_URI[sha256sum] = "bd7f6f118460c452bd1217a24b80fd3c000425d3de28731b98354a81a2
inherit autotools update-rc.d useradd
EXTRA_OECONF += "\
- ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}"
+ ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \
+ --with-syscrontab \
+ "
INITSCRIPT_NAME = "crond"
INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
--
1.7.1
-------------------------------------------
Yao Xinpan
TEL: 8559
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] cronie: build cronie with --with-syscrontab
2013-10-10 13:36 [PATCH 1/1] cronie: build cronie with --with-syscrontab yaoxp
@ 2013-10-31 17:20 ` Saul Wold
2013-11-07 10:07 ` yaoxp
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2013-10-31 17:20 UTC (permalink / raw)
To: yaoxp, openembedded-core
On 10/10/2013 06:36 AM, yaoxp wrote:
> Hi all,
>
> If build cronie without --with-syscrontab, the /etc/crontab will not work.
>
I ran a test without this and the /etc/crontab file was read and the
cron entry was executed, can you explain more clearly what you observed?
The default seems to have it enabled unless it's explicitly disabled.
This might be a change from 1.4.9 to 1.4.11 as the recipe was recently
updated.
Sau!
> Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
> ---
> meta/recipes-extended/cronie/cronie_1.4.9.bb | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-extended/cronie/cronie_1.4.9.bb b/meta/recipes-extended/cronie/cronie_1.4.9.bb
> index 7db0381..0fbb815 100644
> --- a/meta/recipes-extended/cronie/cronie_1.4.9.bb
> +++ b/meta/recipes-extended/cronie/cronie_1.4.9.bb
> @@ -34,7 +34,9 @@ SRC_URI[sha256sum] = "bd7f6f118460c452bd1217a24b80fd3c000425d3de28731b98354a81a2
> inherit autotools update-rc.d useradd
>
> EXTRA_OECONF += "\
> - ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}"
> + ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \
> + --with-syscrontab \
> + "
>
> INITSCRIPT_NAME = "crond"
> INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
> --
> 1.7.1
>
> -------------------------------------------
> Yao Xinpan
> TEL: 8559
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] cronie: build cronie with --with-syscrontab
2013-10-31 17:20 ` Saul Wold
@ 2013-11-07 10:07 ` yaoxp
0 siblings, 0 replies; 3+ messages in thread
From: yaoxp @ 2013-11-07 10:07 UTC (permalink / raw)
To: 'Saul Wold', openembedded-core
> On 10/10/2013 06:36 AM, yaoxp wrote:
> > Hi all,
> >
> > If build cronie without --with-syscrontab, the /etc/crontab will not work.
> >
>
> I ran a test without this and the /etc/crontab file was read and the
> cron entry was executed, can you explain more clearly what you observed?
>
My build environment:
Yocto version: 1.4.2
Cronie version: 1.4.9
/etc/crontab will not read if build cronie without --with-syscrontab from 1.4.9
If /etc/crontab doesn't work, may be inconvenient to the user
Yaoxp
> The default seems to have it enabled unless it's explicitly disabled.
> This might be a change from 1.4.9 to 1.4.11 as the recipe was recently
> updated.
>
> Sau!
>
>
>
> > Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
> > ---
> > meta/recipes-extended/cronie/cronie_1.4.9.bb | 4 +++-
> > 1 files changed, 3 insertions(+), 1 deletions(-)
> >
> > diff --git a/meta/recipes-extended/cronie/cronie_1.4.9.bb
> b/meta/recipes-extended/cronie/cronie_1.4.9.bb
> > index 7db0381..0fbb815 100644
> > --- a/meta/recipes-extended/cronie/cronie_1.4.9.bb
> > +++ b/meta/recipes-extended/cronie/cronie_1.4.9.bb
> > @@ -34,7 +34,9 @@ SRC_URI[sha256sum] =
> "bd7f6f118460c452bd1217a24b80fd3c000425d3de28731b98354a81a2
> > inherit autotools update-rc.d useradd
> >
> > EXTRA_OECONF += "\
> > - ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam',
> '--without-pam', d)}"
> > + ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam',
> '--without-pam', d)} \
> > + --with-syscrontab \
> > + "
> >
> > INITSCRIPT_NAME = "crond"
> > INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
> > --
> > 1.7.1
> >
> > -------------------------------------------
> > Yao Xinpan
> > TEL: 8559
> >
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-07 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10 13:36 [PATCH 1/1] cronie: build cronie with --with-syscrontab yaoxp
2013-10-31 17:20 ` Saul Wold
2013-11-07 10:07 ` yaoxp
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.