[Buildroot] [PATCH v4] barebox: add an option to embed environment image

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri May 6 13:48:32 UTC 2016


Hello,

On Fri,  6 May 2016 07:46:04 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists at googlemail.com>
> 
> Barebox provides an option to embed a custom environment image into
> barebox binary. This image will be used, when the environment found
> in the environment sector is invalid. Both embedded and external
> images can be used together, so having both options at the same
> time is justified.
> 
> This patch sets barebox Kconfig option CONFIG_DEFAULT_ENVIRONMENT_PATH
> to user specified path. This way one can use such BR's variables like
> BR2_EXTERNAL, TOPDIR etc. to provide paths to custom environment folders.
> 
> Cc: Pieter Smith <pieter at boesman.nl>
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> ---
> Changes:
> 	v4: reword help text (Arnout Vandecappelle)
> 	    add auxiliary variable holding env path (Arnout Vandecappelle)
> 	    add notion about having both env images in parallel to commit message (Thomas Petazzoni)

Applied to master, thanks a lot!

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


More information about the buildroot mailing list