From b9ee14bdddf20347b324e1dd1d218981f0e934d6 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Sun, 12 Feb 2006 20:53:25 +0000 Subject: [PATCH] Update the boot-sparc scripts to improve the algorithm for finding the right version of silo to use - grab the filename from the appropriate Packages file rather than looking in the silo directory in the pool. --- debian/changelog | 6 +++++- tools/boot/etch/boot-sparc | 3 ++- tools/boot/sarge/boot-sparc | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index d24b665f..25c111e7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -169,7 +169,11 @@ debian-cd (2.2.24) UNRELEASED; urgency=low arm kernels as d-i now uses these. [ Steve McIntyre ] - * Fix the environment variable checks in tools/generate_di+k_list. + * Fix the environment variable checks in tools/generate_di+k_list. + * Update the boot-sparc scripts to improve the algorithm for finding + the right version of silo to use - grab the filename from the + appropriate Packages file rather than looking in the silo + directory in the pool. -- Joey Hess Thu, 9 Feb 2006 15:18:35 -0500 diff --git a/tools/boot/etch/boot-sparc b/tools/boot/etch/boot-sparc index 683fbf2c..ac99dacc 100755 --- a/tools/boot/etch/boot-sparc +++ b/tools/boot/etch/boot-sparc @@ -38,7 +38,8 @@ inst=boot1 # Setup directories mkdir -p $inst/boot/2.6 -silo_deb=`ls $MIRROR/pool/main/s/silo/silo_*.deb | tail -1` +silo_deb=$MIRROR/`zcat $MIRROR/dists/$DI_CODENAME/main/binary-sparc/Packages.gz | \ + awk '/^Filename: .*\/silo/ {print $2}'` # put the relevant parts of SILO boot loader (ar p $silo_deb data.tar.gz | \ tar zxf - -C $inst/ ./boot/{isofs,second}.b) diff --git a/tools/boot/sarge/boot-sparc b/tools/boot/sarge/boot-sparc index 8d84695b..4a559fce 100755 --- a/tools/boot/sarge/boot-sparc +++ b/tools/boot/sarge/boot-sparc @@ -38,7 +38,8 @@ inst=boot1 # Setup directories mkdir -p $inst/boot -silo_deb=`ls $MIRROR/pool/main/s/silo/silo_*.deb | tail -1` +silo_deb=$MIRROR/`zcat $MIRROR/dists/$DI_CODENAME/main/binary-sparc/Packages.gz | \ + awk '/^Filename: .*\/silo/ {print $2}'` # put the relevant parts of SILO boot loader (ar p $silo_deb data.tar.gz | \ tar zxf - -C $inst/ ./boot/{isofs,second}.b)