changeset 789:dde700454fbe

Update nightly.sh to new buildall.sh variables, move specifying package list to wrapper script, add "none" stage.
author Rob Landley <rob@landley.net>
date Sun, 05 Jul 2009 23:59:57 -0500
parents fb3484d9764d
children 188a182b1a7f
files sources/toys/nightly.sh
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/sources/toys/nightly.sh	Sun Jul 05 23:48:07 2009 -0500
+++ b/sources/toys/nightly.sh	Sun Jul 05 23:59:57 2009 -0500
@@ -13,16 +13,20 @@
 # Update each package from repository, generate alt-tarball, and build with
 # that package.
 
-[ -z "$PACKAGES" ] && PACKAGES="busybox uClibc linux all"
-for PACKAGE in $PACKAGES
+for PACKAGE in none $PACKAGES all
 do
   export USE_UNSTABLE="$PACKAGE"
 
   # Handle special package name "all"
 
-  if [ "$PACKAGE" == "all" ]
+  if [ "$PACKAGE" == "none" ]
   then
-    USE_UNSTABLE=busybox,uClibc,linux
+    USE_UNSTABLE=
+  elif [ "$PACKAGE" == "all" ]
+  then
+    [ -z "$PACKAGES" ] && continue
+
+    USE_UNSTABLE="$(echo "$PACKAGES" | sed 's/ /,/')"
 
   # Update package from repository
 
@@ -38,7 +42,7 @@
   # version of everything else (including build scripts).
 
   cd "$TOP"
-  FORK=1 CROSS_COMPILERS_EH=i686 NATIVE_COMPILERS_EH=1 nice -n 20 ./buildall.sh
+  FORK=1 nice -n 20 ./buildall.sh
 
   FORK=1 ./smoketest-all.sh --logs > build/logs/status.txt