diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-09 13:27:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 13:58:26 +0100 |
commit | 10219f05608308175600232d2e6887c524fcce25 (patch) | |
tree | 7a9f74885a63d10ec96965cb42ca3e588cb783e8 /meta/recipes-extended | |
parent | 84d45db4ddced96c736f106f8122eefadf925c41 (diff) | |
download | poky-10219f05608308175600232d2e6887c524fcce25.tar.gz |
cronie: Convert crontab to a system user
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.
(From OE-Core rev: ea6b28cad959d9ebbaf0ecbd695d1d72c0c01151)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/cronie/cronie_1.4.9.bb | 2 |
1 files changed, 1 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 7db0381245..b338c373ac 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" | |||
40 | INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." | 40 | INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." |
41 | 41 | ||
42 | USERADD_PACKAGES = "${PN}" | 42 | USERADD_PACKAGES = "${PN}" |
43 | GROUPADD_PARAM_${PN} = "crontab" | 43 | GROUPADD_PARAM_${PN} = "--system crontab" |
44 | 44 | ||
45 | do_install_append () { | 45 | do_install_append () { |
46 | install -d ${D}${sysconfdir}/sysconfig/ | 46 | install -d ${D}${sysconfdir}/sysconfig/ |