Add $YABOOT_DEBUG for testing

This commit is contained in:
Dan Jacobowitz 2000-05-03 18:48:13 +00:00
parent c6ca7372cf
commit b2ba460749
1 changed files with 7 additions and 3 deletions

View File

@ -104,10 +104,14 @@ cat $BASEDIR/data/yaboot/yaboot.conf \
cp $BASEDIR/data/yaboot/ofboot.b powermac/
# Extract yaboot from the archive
(ar p $MIRROR/dists/$CODENAME/main/binary-powerpc/base/yaboot_* data.tar.gz | \
if [ -z "$YABOOT_DEBUG" ]; then
(ar p $MIRROR/dists/$CODENAME/main/binary-powerpc/base/yaboot_* data.tar.gz | \
tar zxf - -C powermac ./boot/yaboot)
mv powermac/boot/yaboot powermac/yaboot
rmdir powermac/boot
mv powermac/boot/yaboot powermac/yaboot
rmdir powermac/boot
else
cp $YABOOT_DEBUG powermac/yaboot
fi
#--------------- PReP - Stuff -------------------------------
echo Installing PReP files