Openembedded Core Discussions
 help / color / mirror / Atom feed
* cronie: Convert crontab to a system user
@ 2013-04-09 12:27 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-04-09 12:27 UTC (permalink / raw)
  To: openembedded-core

crontab is meant to be a system user, not a normal user of the system
so lets pass the correct parameters to the system. If we don't do this
it interferes with the setup of normal users, particularly if some 
preset list of users is desired.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-extended/cronie/cronie_1.4.9.bb b/meta/recipes-extended/cronie/cronie_1.4.9.bb
index 7db0381..b338c37 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.9.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.9.bb
@@ -40,7 +40,7 @@ INITSCRIPT_NAME = "crond"
 INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
 
 USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM_${PN} = "crontab"
+GROUPADD_PARAM_${PN} = "--system crontab"
 
 do_install_append () {
 	install -d ${D}${sysconfdir}/sysconfig/





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-09 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 12:27 cronie: Convert crontab to a system user Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox