packages: add ability for packages to create users

Packages that install daemons may need those daemons to run as a non-root,
or an otherwise non-system (eg. 'daemon'), user.

Add infrastructure for packages to create users, by declaring the FOO_USERS
variable that contain a makedev-syntax-like description of the user(s) to
add.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Cam Hutchison <camh@xdna.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Yann E. MORIN
2013-04-12 07:14:18 +00:00
committed by Peter Korsgaard
parent 74bdc4b9dd
commit 1f3af04db7
6 changed files with 515 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ Appendix
========
include::makedev-syntax.txt[]
include::makeusers-syntax.txt[]
[[package-list]]
Available packages