[Buildroot] [RFC] post-build scripts: limitations, and proposal

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Sun Jun 23 17:45:35 UTC 2013


On Sun, Jun 23, 2013 at 7:06 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
> On 21/06/13 08:17, Thomas De Schampheleire wrote:
>>
>> Instead of passing multiple scripts, you could just pass one wrapper
>> post build script, without options. This wrapper would be different in
>> your different configurations, and would call all relevant scripts in
>> turn.
>
>
>  Or alternatively: a wrapper script that observes $0 and decides which other
> scripts to call based on that. So you'd have
> rpi-fixup-rootfs at yem@tvheadend for the one configuration, and
> rpi-fixup-rootfs at yem@wpa for the other one.
>

But this requires a set of symbolic links matching each different
configuration, right?



More information about the buildroot mailing list