[OE-core] [OE-CORE] [PATCH 1/1] cronie: build cronie with --with-syscrontab

Saul Wold sgw at linux.intel.com
Thu Oct 31 17:20:11 UTC 2013


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 at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>



More information about the Openembedded-core mailing list