hopefully fix powermac bootable CD problem, check whether mkhybrid or
mkisofs is used, if mkhybrid do as we always have, if mkisofs add args: -hfs-bless $n/install/powermac. note this *REQUIRES* the mkisofs from woody, potato's will not work. don't make HFS images for CDs > 1, its not needed. I will have someone test this to ensure it works asap.
This commit is contained in:
parent
a9da55e077
commit
a19442e7d7
|
@ -21,17 +21,31 @@ cd $CDROOT/..
|
|||
|
||||
# Only disk 1* bootable
|
||||
if [ $N != 1 -a $N != 1_NONUS ]; then
|
||||
echo -n "--netatalk -j -hfs -probe -map $BASEDIR/data/hfs.map" \
|
||||
> $N.mkisofs_opts
|
||||
# we don't need HFS cruft on anything but CD 1
|
||||
#echo -n "--netatalk -j -hfs -probe -map $BASEDIR/data/hfs.map" \
|
||||
# > $N.mkisofs_opts
|
||||
:> $N.mkisofs_opts
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo -n "--netatalk -j -hfs -probe -map $BASEDIR/data/hfs.map" \
|
||||
echo -n "--netatalk -hfs -probe -map $BASEDIR/data/hfs.map" \
|
||||
> $N.mkisofs_opts
|
||||
echo -n " -prep-boot install/prep/boot.bin" >> $N.mkisofs_opts
|
||||
# For newworld Mac booting - Note, no spaces in volid!
|
||||
echo -n " -part -no-desktop -hfs-volid Debian/PowerPC_${CODENAME}" \
|
||||
>> $N.mkisofs_opts
|
||||
case "$MKISOFS" in
|
||||
*mkhybrid)
|
||||
echo -n " -part -no-desktop -hfs-volid Debian/PowerPC_${CODENAME}" \
|
||||
>> $N.mkisofs_opts
|
||||
;;
|
||||
*mkisofs)
|
||||
echo -n " -part -no-desktop -hfs-bless \$n/install/powermac -hfs-volid Debian/PowerPC_${CODENAME}" \
|
||||
>> $N.mkisofs_opts
|
||||
;;
|
||||
*)
|
||||
echo 1>&2 "Only mkhybrid or mkisofs can be used"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
DISKSROOT="$MIRROR/dists/$CODENAME/main/disks-$ARCH/current"
|
||||
INSTALLDIR="$CDROOT/install"
|
||||
|
|
|
@ -24,6 +24,13 @@ if [ $N != 1 -a $N != 1_NONUS ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
hmount $3
|
||||
hattrib -b ":install:powermac"
|
||||
humount $3
|
||||
case "$MKISOFS" in
|
||||
*mkhybrid)
|
||||
hmount $3
|
||||
hattrib -b ":install:powermac"
|
||||
humount $3
|
||||
;;
|
||||
*mkisofs)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue