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.
This commit is contained in:
Steve McIntyre 2006-02-12 20:53:25 +00:00
parent d35ef77599
commit b9ee14bddd
3 changed files with 9 additions and 3 deletions

6
debian/changelog vendored
View File

@ -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 <joeyh@debian.org> Thu, 9 Feb 2006 15:18:35 -0500

View File

@ -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)

View File

@ -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)