Mercurial > hg > aboriginal
changeset 788:fb3484d9764d
Since nightly.sh is checked in to the repository, having it update the FWL repository is just too fiddly. Both that and uploading the result is the job of a wrapper script that calls this one.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 05 Jul 2009 23:48:07 -0500 |
parents | 23bff7aa79eb |
children | dde700454fbe |
files | sources/toys/nightly.sh |
diffstat | 1 files changed, 5 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/toys/nightly.sh Sun Jul 05 23:41:01 2009 -0500 +++ b/sources/toys/nightly.sh Sun Jul 05 23:48:07 2009 -0500 @@ -8,38 +8,19 @@ TEMPDIR="$TOP" -rm -rf triage.* build & - -# Update the scripts, but revert repository back to last release for the -# first few builds. - -hg pull -wait - -[ -z "$FWL_STABLE" ] && - FWL_STABLE="$(hg tags | grep -v tip | head -n 1 | awk '{print $1}')" -hg update "$FWL_STABLE" +rm -rf triage.* build # Update each package from repository, generate alt-tarball, and build with # that package. -[ -z "$PACKAGES" ] && PACKAGES="busybox uClibc linux fwl all" +[ -z "$PACKAGES" ] && PACKAGES="busybox uClibc linux all" for PACKAGE in $PACKAGES do export USE_UNSTABLE="$PACKAGE" - # Handle special package names "fwl" and "all" + # Handle special package name "all" - if [ "$PACKAGE" == "fwl" ] - then - echo updating build scripts - hg update tip - USE_UNSTABLE= - - # Note that building the other packages is what updates them, - # this just selects and compiles them. - - elif [ "$PACKAGE" == "all" ] + if [ "$PACKAGE" == "all" ] then USE_UNSTABLE=busybox,uClibc,linux @@ -59,7 +40,7 @@ cd "$TOP" FORK=1 CROSS_COMPILERS_EH=i686 NATIVE_COMPILERS_EH=1 nice -n 20 ./buildall.sh - FORK=1 ./smoketest-all.sh --logs > build/status.txt + FORK=1 ./smoketest-all.sh --logs > build/logs/status.txt DESTDIR="$TOP/../snapshots/$PACKAGE/$SNAPSHOT_DATE" rm -rf "$DESTDIR" @@ -67,7 +48,3 @@ mv build/logs build/*.tar.bz2 "$DESTDIR" mv build "$TEMPDIR/triage.$PACKAGE" done - -# Upload stuff - -#scp -r ${SNAPSHOT_DIR} impact@impactlinux.com:/home/impact/impactlinux.com/fwl/downloads/snapshots/