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 | poky-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-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 | |||
31 | exit 0 | 31 | exit 0 |
32 | fi | 32 | fi |
33 | 33 | ||
34 | POSTPROCESS=`which poky-autobuild-postprocess` | ||
35 | |||
34 | if [ "xcomplete" = "x$1" ]; then | 36 | if [ "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 | ||
61 | bitbake $BBTARGET | 62 | bitbake $BBTARGET |
63 | |||
64 | if [ "x$POSTPROCESS" != "x" ]; then | ||
65 | $POSTPROCESS `pwd` | ||
66 | fi | ||
67 | |||