changes for boot-sparc to fix size of cd#2 --jwest
This commit is contained in:
parent
93335b5b05
commit
86777281d3
|
@ -29,17 +29,19 @@ mkdir -p boot1/boot
|
||||||
|
|
||||||
BOOTDIR=1/dists/$CODENAME/main/disks-$ARCH/current/
|
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
|
# make a copy of the boot disks in the /install dir
|
||||||
cp -pr $BOOTDIR/* $CDDIR/install
|
cp -pr $BOOTDIR/* $CDDIR/install
|
||||||
# remove the /install/doc directory as it is reduntant to /doc
|
# remove the /install/doc directory as it is reduntant to /doc
|
||||||
rm -r $CDDIR/install/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
|
echo -n "-J -b boot/rescue.bin -c boot/boot.catalog boot1" > 1.mkisofs_opts
|
||||||
|
|
||||||
(cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \
|
(cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \
|
||||||
|
|
Loading…
Reference in New Issue