[Buildroot] [PATCH] fs/common.mk: support comments in user table files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Oct 16 15:01:28 UTC 2015


Peter, Yann,

On Fri, 16 Oct 2015 16:50:19 +0200, Peter Korsgaard wrote:
> 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.
> 
> Support comment lines prefixed with '#' similar to shell / makedevs files and strip
> those lines before passing to the mkusers script.
> 
> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

Shouldn't it the responsibility of the mkusers script to ignore such
comments instead ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list