mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user