changeset 397:98b6f0746bf7

Minor cleanup, prepare for unstable package logic.
author Rob Landley <rob@landley.net>
date Tue, 23 Sep 2008 13:12:41 -0500
parents 63dae3cd1163
children a7daae215647
files download.sh
diffstat 1 files changed, 16 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/download.sh	Tue Sep 23 13:02:18 2008 -0500
+++ b/download.sh	Tue Sep 23 13:12:41 2008 -0500
@@ -14,7 +14,7 @@
 
 # Note: set SHA1= blank to skip checksum validation.
 
-echo "=== Download source code." &&
+echo "=== Download source code."
 
 # Note: a blank SHA1 value means accept anything, and the download script
 # prints out the sha1 of such files after downloading it, so to update to
@@ -22,73 +22,60 @@
 # then cut and paste the sha1 from the output and run it again to confirm.
 
 # Required for cross compile toolchain
-URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.2.tar.bz2 \
-SHA1=755c1dbf6ad58fc56e9557d2c14e91820a7a7085 \
-download &&
+URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2 \
+SHA1=037c3ac83ba4da1ad4da91c0e485f97821767c2e \
+download || dienow
 
 URL=http://www.uclibc.org/downloads/uClibc-0.9.29.tar.bz2 \
 SHA1=1c5a36dc2cfa58b41db413190e45675c44ca4691 \
-download &&
-#URL=http://uclibc.org/downloads/snapshots/uClibc-20070924.tar.bz2 \
-#SHA1= \
-#download &&
+download || dienow
 
 URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \
 SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
-download &&
+download || dienow
 
 URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \
 SHA1=d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 \
-download &&
+download || dienow
 
 URL=http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 \
 SHA1=e29c6e151050f8b5ac5d680b99483df522606143 \
-download &&
+download || dienow
 
 URL=http://landley.net/code/toybox/downloads/toybox-0.0.6.tar.bz2 \
 SHA1=188c602a89dc6a53144a65e2fed92696a3d24444 \
-download &&
-
-# Ye olde emulator
-
-#URL=http://qemu.org/qemu-0.9.0.tar.gz \
-#SHA1=1e57e48a06eb8729913d92601000466eecef06cb \
-#download &&
+download || dienow
 
 # Required for native build environment
 
-URL=http://superb-east.dl.sourceforge.net/sourceforge/squashfs/squashfs3.1.tar.gz \
-SHA1=89d537fd18190402ff226ff885ddbc14f6227a9b \
-download &&
-
 URL=http://www.busybox.net/downloads/busybox-1.11.1.tar.bz2 \
 SHA1=73b041364d377125949dd8f5c191bcbb3daee6e9 \
-download &&
+download || dienow
 
 URL=ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 \
 SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \
-download &&
+download || dienow
 
 URL=http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz \
 SHA1=b3e158877f94e66ec1c8ef604e994851ee388b09 \
-download &&
+download || dienow
 
 URL=http://superb-east.dl.sourceforge.net/sourceforge/strace/strace-4.5.14.tar.bz2 \
 SHA1=72c17d1dd6786d22ca0aaaa7292b8edcd70a27de \
-download &&
+download || dienow
 
 # We look for things.  Things that make us go.  (Laxatives, aisle 7.)
 URL=http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2 \
 SHA1=88e4c15826bdbc5a3de0f7c1bcb429e558c6976d \
-download &&
+download || dienow
 
 # ftp://ftp.denx.de/pub/u-boot/u-boot-1.2.0.tar.bz2
 # http://tinderbox.dev.gentoo.org/portage/scripts/bootstrap.sh
 # http://cxx.uclibc.org/src/uClibc++-0.2.1.tar.bz2
 
-echo === Got all source. &&
+echo === Got all source.
 
-cleanup_oldfiles &&
+cleanup_oldfiles
 
 # Set color back to normal.
 echo -e "\e[0m"