[Buildroot] [Feature Request] script to run after build completion

Bjørn Forsman bjorn.forsman at gmail.com
Thu Jun 9 11:23:22 UTC 2011


2011/6/9 Steve Calfee <stevecalfee at gmail.com>:
> On 06/08/11 13:40, Alper Yıldırım wrote:
>> Hello,
>>
>> A feature i want to see in buildroot is to have a post build script to
>> run after image creation process, in other words just before "make"
>> returns to console. This way i can put my post build commands inside
>> this script. It will definitely ease my buildroot usage.
>>
>
> Hi Alper,
>
> Yes a post build script is useful. enter your script path in menuconfig
> target_filesystem_options -->
>
> It becomes in your .config something like:
> BR2_ROOTFS_POST_BUILD_SCRIPT=
> "$(TOPDIR)/target/device/beagleboard/patchrootfs.sh"

BR2_ROOTFS_POST_BUILD_SCRIPT is run before image creation, not after
(so you can change the rootfs before it is packaged). So I don't think
it is the right solution.

Best regards,
Bjørn Forsman



More information about the buildroot mailing list