Add a post-image script mechanism
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 7 Feb 2013 11:58:43 +0000 (11:58 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 8 Feb 2013 20:46:13 +0000 (21:46 +0100)
commit9fa32ba0b76d0790f67e0cc655c56484e44397bc
tree01e6c093e7676680308dffddd98c9c8e8e7faba3
parent85ffaecb27d3ae5929437ae878a865b57f708df1
Add a post-image script mechanism

Just like we have a post-build script mechanism that gets executed
after the build of all packages but before the creation of the
filesystem images, let's introduce a post-image script mechanism, that
gets executed once all filesystem images have been generated.

This can for example be used to call a tool building a firmware image
from different images generated by Buildroot, or automatically extract
the tarball root filesystem image into some location exported by NFS,
or any other custom action.

[Peter: fix image script check]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile
system/Config.in