summaryrefslogtreecommitdiffstats
path: root/scripts/poky-autobuild
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-28 16:40:06 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-28 16:40:06 +0000
commit6b8df051477101ae1de8c27004bf2922ddacc4fc (patch)
tree2a46e8aa980a701e214d92d4f3b33b7a1a1c6198 /scripts/poky-autobuild
parente88c64181a8ffd98c333b9ba7e5b3a522b83e65c (diff)
downloadpoky-6b8df051477101ae1de8c27004bf2922ddacc4fc.tar.gz
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-xscripts/poky-autobuild8
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
31 exit 0 31 exit 0
32fi 32fi
33 33
34POSTPROCESS=`which poky-autobuild-postprocess`
35
34if [ "xcomplete" = "x$1" ]; then 36if [ "xcomplete" = "x$1" ]; then
35 touch ./build/tmp/deploy/images/images-complete 37 touch ./build/tmp/deploy/images/images-complete
36 chmod a+w ./build/tmp/deploy/images/images-complete 38 chmod a+w ./build/tmp/deploy/images/images-complete
37 POSTPROCESS=`which poky-autobuild-postprocess`
38 if [ "x$POSTPROCESS" != "x" ]; then 39 if [ "x$POSTPROCESS" != "x" ]; then
39 $POSTPROCESS `pwd` 40 $POSTPROCESS `pwd`
40 fi 41 fi
@@ -59,3 +60,8 @@ shift
59. ./scripts/poky-env-internal 60. ./scripts/poky-env-internal
60 61
61bitbake $BBTARGET 62bitbake $BBTARGET
63
64if [ "x$POSTPROCESS" != "x" ]; then
65 $POSTPROCESS `pwd`
66fi
67