[Buildroot] [PATCH v14 1/4] makedevs: support optional files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 3 22:58:04 UTC 2017


Hello,

On Mon, 3 Jul 2017 23:00:48 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> Add the 'F' file type to makedevs, that allows a file to be optional.
> With this option, the line is just silently skipped if the file doesn't
> exist (or is not a regular file).
> 
> This is useful for _PERMISSIONS where the file can be configured out
> by package-specific configuration that is not directly handled by
> Buildroot, like busybox.
> 
> Cc: Clayton Shotwell <clayton.shotwell at rockwellcollins.com>
> Cc: Matthew Weber <matthew.weber at rockwellcollins.com>
> Cc: Niranjan Reddy <niranjan.reddy at rockwellcollins.com>
> Cc: Bryce Ferguson <bryce.ferguson at rockwellcollins.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
> v14:
>  - Split off the makedevs change in a separate patch.
>  - Fix it - AFAICS, the original patch would just skip all F lines.
> ---
>  package/makedevs/makedevs.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Applied to master, thanks.

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



More information about the buildroot mailing list