[Buildroot] [PATCH 01/15] fs: add genimage infra

Peter Korsgaard peter at korsgaard.com
Thu Apr 14 21:16:57 UTC 2016


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > Hello,
 > On Wed, 13 Apr 2016 23:32:22 +0200, Arnout Vandecappelle wrote:

 >> Therefore, at least as a first step, I guess it's better to just move the 
 >> script to a common place, e.g. to package/genimage/post-image.sh. Let it take a 
 >> single argument for the genimage.cfg file, and add some documentation to the manual.

 > As an after-thought, this seems like a good idea. This is really a very
 > simple and minimal change, and is easy to do.

The only complication is that you cannot directly pass arguments to
post-image scripts, you have to use BR2_ROOTFS_POST_SCRIPT_ARGS (and it
gets used for all scripts).

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list