diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-28 16:40:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-28 16:40:06 +0000 |
commit | 6b8df051477101ae1de8c27004bf2922ddacc4fc (patch) | |
tree | 2a46e8aa980a701e214d92d4f3b33b7a1a1c6198 /scripts/poky-autobuild | |
parent | e88c64181a8ffd98c333b9ba7e5b3a522b83e65c (diff) | |
download | openembedded-core-6b8df051477101ae1de8c27004bf2922ddacc4fc.tar.gz openembedded-core-6b8df051477101ae1de8c27004bf2922ddacc4fc.tar.bz2 openembedded-core-6b8df051477101ae1de8c27004bf2922ddacc4fc.zip |
scripts: Update autobuilder scripts to run postprocess after each task completes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4360 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-autobuild')
-rwxr-xr-x | scripts/poky-autobuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index 7e027ba9f8..586a57eb55 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild @@ -31,10 +31,11 @@ if [ "xpreamble" = "x$1" ]; then exit 0 fi +POSTPROCESS=`which poky-autobuild-postprocess` + if [ "xcomplete" = "x$1" ]; then touch ./build/tmp/deploy/images/images-complete chmod a+w ./build/tmp/deploy/images/images-complete - POSTPROCESS=`which poky-autobuild-postprocess` if [ "x$POSTPROCESS" != "x" ]; then $POSTPROCESS `pwd` fi @@ -59,3 +60,8 @@ shift . ./scripts/poky-env-internal bitbake $BBTARGET + +if [ "x$POSTPROCESS" != "x" ]; then + $POSTPROCESS `pwd` +fi + |