[hipl-commit] [trunk] Rev 4606: added comments to autobuilder to clarify its internals

  • From: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 26 May 2010 23:05:41 +0300

Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
Date: 26/05/2010 at 23:05:41
Revision: 4606
Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  added comments to autobuilder to clarify its internals

Modified:
  M  tools/hipl_autobuild.sh

=== modified file 'tools/hipl_autobuild.sh'
--- tools/hipl_autobuild.sh     2010-05-26 19:56:08 +0000
+++ tools/hipl_autobuild.sh     2010-05-26 20:04:57 +0000
@@ -78,7 +78,7 @@
     exit $1
 }
 
-# Make sure that 'make dist' is complete.
+# Check if 'make dist' contains all files that are under version control.
 check_dist()
 {
     # TODO I'm not a sed user, please explain
@@ -101,6 +101,7 @@
         run_program "make install"
 }
 
+# only run the autobuilder for newer revisions than the last one checked
 test $BRANCH_REVISION = $AUTOBUILD_REVISION && exit 0
 
 # TODO why is the repo up-to-date?
@@ -143,8 +144,10 @@
 
 CONFIGURATION="Scratchbox ARM crosscompile"
 cd $SCRATCHBOX_HOME || cleanup 1
+# clean-up previous run and get fresh sources for compilation (in host env)
 run_program "rm -rf hipl-[0-9.]* hipl_*.changes hipl_*.deb"
 run_program "tar -xzf $CHECKOUT_DIR/hipl-[0-9.]*.tar.gz"
+# perform debian packaging (in maemo sdk env)
 run_program "$SCRATCHBOX_DIR/login -d hipl-[0-9.]* dpkg-buildpackage 
-rfakeroot -b"
 
 cleanup 0

Other related posts:

  • » [hipl-commit] [trunk] Rev 4606: added comments to autobuilder to clarify its internals - Rene Hummen