summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-10-17 17:50:19 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-18 17:52:21 +0200
commitf0c4456530b60e5b5119e74eb52c50cd7317792d (patch)
tree00d8368fdde49e7be565aa1b6068ecf950ca817b /system
parent8c49041bb254fd36e42ce287b167067b45941357 (diff)
support/mkusers: allow comments in users tables
The format of the users table files is non trivial, so it is sometimes handy to add comments explaining the syntax (or simply the reason for the user) inline in the files. Ignore empty lines and comment lines prefixed with '#' similar to shell or makedevs files. Packages that defined no user (the vast majority) would cause an empty line to be present in the internal users table, hence the reason we skipped empty usernames. Now that we ignore empty lines, we no longer need to check for empty usernames. Reported-by: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions