From 6b8df051477101ae1de8c27004bf2922ddacc4fc Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 28 Apr 2008 16:40:06 +0000 Subject: 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 --- scripts/poky-autobuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/poky-autobuild') 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 + -- cgit v1.2.3