changeset 637:6e24cfd8f258

Remove obsolete file.
author Rob Landley <rob@landley.net>
date Thu, 19 Mar 2009 19:15:45 -0500
parents d658f28e36ae
children 2a2f5c529633
files sources/cronjob.sh
diffstat 1 files changed, 0 insertions(+), 73 deletions(-) [+]
line wrap: on
line diff
--- a/sources/cronjob.sh	Wed Mar 18 19:58:26 2009 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-#!/bin/bash
-
-# This is the cron script to create the nightly snapshots on
-# "http://uclibc.org/~landley/fwl".  Unlike the other build scripts,
-# this one runs as root so it can chroot to create static toolchains
-# quickly.  (The nightly builds are done on an old, slow machine.)
-
-# Set up context
-
-WHOISIT=landley
-HOSTARCH=i686
-export USE_UNSTABLE=busybox,toybox,uClibc
-
-#export UPLOAD_TO=busybox.net:public_html/fwlnew
-
-cd /home/landley/firmware/firmware
-
-# Zap old snapshots so fresh ones get downloaded from Morris, then
-# download and extract packages.
-
-rm -f sources/packages/alt-{uClibc,busybox}-0.tar.bz2
-rm -rf build || exit 1
-su ${WHOISIT} -c "./download.sh --extract && ./host-tools.sh" || exit 1
-
-rm -rf serverdir
-mkdir -p serverdir
-(. sources/functions.sh; do_readme | tee serverdir README.txt)
-
-# Build a temporary system as a host architecture for static toolchains
-su ${WHOISIT} -c "./cross-compiler.sh $HOSTARCH && ./mini-native.sh $HOSTARCH" || exit 1
-
-# Chroot into the temporary system to build static uClibc toolchains
-
-su ${WHOISIT} -c "hg archive build/mini-native-$HOSTARCH/build && cp -r sources/packages build/mini-native-$HOSTARCH/build/sources" || exit 1
-(chroot build/mini-native-$HOSTARCH tools/bin/chroot-setup.sh || exit 1) << EOF
-cd /build || exit 1
-./download.sh --extract || exit 1
-for i in \$(cd sources/targets; ls)
-do
-  CROSS_BUILD_STATIC=1 ./cross-compiler.sh \$i 2>&1 | tee out-toolchain-\$i.txt
-done
-EOF
-
-# Copy out static toolchains
-
-rm -rf "build/cross-compiler-$HOSTARCH" || exit 1
-mv build/mini-native-$HOSTARCH/build/build/cross-compiler-* build || exit 1
-
-for i in $(cd build/mini-native-$HOSTARCH/build; ls out-*.txt)
-do
-  cp build/mini-native-$HOSTARCH/build/"$i" .
-  bzip2 < build/mini-native-$HOSTARCH/build/"$i" > serverdir/$i.bz2
-done
-
-rm -rf build/mini-native-* build/system-image-* || exit 1
-
-# Build mini-native and system-image stages with static toolchains.
-
-for i in $(cd sources/targets; ls)
-do
-  (./mini-native.sh $i && ./package-mini-native.sh $i) 2>&1 |
-    tee out-$i.txt | tee >(bzip2 > serverdir/out-$i.txt.bz2)
-done
-
-# Build system images using static toolchains above
-
-# sources/build-all-targets.sh --stage 2 --fork 1 || exit 1
-
-# Publish the result
-#ssh -i /home/landley/.ssh/id_dsa ${WHOISIT}@${SERVER} \
-#	"rm public_html/fwl/*; mv public_html/fwlnew/* public_html/fwl"
-
-cp build/*.tar.bz2 serverdir