From 86777281d3bee95d242c3344ca5c2d84b7c2cfcb Mon Sep 17 00:00:00 2001 From: Jim Westveer Date: Mon, 13 Mar 2000 00:35:26 +0000 Subject: [PATCH] changes for boot-sparc to fix size of cd#2 --jwest --- tools/boot/potato/boot-sparc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/boot/potato/boot-sparc b/tools/boot/potato/boot-sparc index 8f440974..e64781c1 100755 --- a/tools/boot/potato/boot-sparc +++ b/tools/boot/potato/boot-sparc @@ -29,17 +29,19 @@ mkdir -p boot1/boot BOOTDIR=1/dists/$CODENAME/main/disks-$ARCH/current/ + +# Disks != 1 and not 2 +if [ $N != 1 ]; then + echo -n "-J" > $N.mkisofs_opts + rm -r $CDDIR/doc #remove doc dir on #2,#3,#4 + exit 0; +fi + # make a copy of the boot disks in the /install dir cp -pr $BOOTDIR/* $CDDIR/install # remove the /install/doc directory as it is reduntant to /doc rm -r $CDDIR/install/doc - -# Disks != 1 and not 2 -if [ $N != 1 ]; then - echo -n "-J" > $N.mkisofs_opts - exit 0; -fi echo -n "-J -b boot/rescue.bin -c boot/boot.catalog boot1" > 1.mkisofs_opts (cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \