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 <[email protected]>
---
  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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to