/usr/share/debian-cd/tools/boot/squeeze/boot-m68k is in debian-cd 3.1.13.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | #!/bin/bash
#
# Do install stuff for m68k, including making bootable CDs for bvme6000
# Works with debian-installer
#
# $1 is the CD number
# $2 is the temporary CD build dir
. $BASEDIR/tools/boot/$DI_CODENAME/common.sh
set -e
N=$1
CDDIR=$2
INSTALLDIR=$CDDIR/install
if [ "$DI_WWW_HOME" = "default" ];then
# Temporarily disabled to stop cron jobs complaining
# DI_WWW_HOME="http://people.debian.org/~smarenka/d-i/m68k/images/daily/"
if [ -n "$DI_DIR" ];then
DI_DIR="$DI_DIR/${DI_WWW_HOME#*http://}"
DI_WWW_HOME=""
fi
elif [ "$DI_WWW_HOME" = "test" ];then
# Temporarily disabled to stop cron jobs complaining
# DI_WWW_HOME="http://people.debian.org/~smarenka/d-i/test/cd/"
:
fi
if [ ! "$DI_DIST" ]; then
DI_DIST="$DI_CODENAME"
fi
cd $CDDIR/..
# Recommended size for a HFS Catalog is 4 megas per giga, defaults to 4 megas
# MAXDISKBLOCKS is measured in 2K blocks
newsize=`echo "$MAXDISKBLOCKS * 2048 / 256" | bc`
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-hfs-parms MAX_XTCSIZE=$newsize"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "--netatalk"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-hfs"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-probe"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-map $BASEDIR/data/hfs.map"
# Only disk 1 bootable
if [ $N != 1 ]; then
exit 0
fi
echo "DI_WWW_HOME: $DI_WWW_HOME"
echo "DI_DIR: $DI_DIR"
install_languages $CDDIR
# remove i386 stuff
rm -rf $CDDIR/tools
cd $INSTALLDIR
# This setup is designed to automatically use whatever subarchs are
# available to build the cd.
if [ ! "$DI_WWW_HOME" ];then
if [ ! $DI_DIR ]; then
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
echo "DI_DIR: $DI_DIR"
fi
cp -a $DI_DIR/* .
else
wget -q -np -nH --cut-dirs=4 -r -l 3 -R '.gif,.log,stats.txt,index*' "$DI_WWW_HOME"
fi
# amiga specific stuff
if [ -d tools/amiga ]; then
# Amiboot and dmesg need to be executable
if [ -e tools/amiga/amiboot ]; then
chmod a+x tools/amiga/amiboot
fi
# chmod a+x tools/amiga/dmesg
# Setup amiga icons
cp tools/amiga/amiga.info $CDDIR/install.info
if [ -d $INSTALLDIR/tools ]; then
cp tools/amiga/amiga.info $INSTALLDIR/tools.info
fi
mv tools/amiga/amiga.info .
fi
cd $INSTALLDIR
# bvme6000 specific stuff
if [ -f tools/cdrom/bvme6000-boot.img.gz ]; then
mkdir -p $CDDIR/boot1/boot
cp tools/cdrom/bvme6000-boot.img.gz $CDDIR/boot1/boot/boot.bin
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-b boot/boot.bin"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-c boot/boot.catalog"
add_mkisofs_opt $CDDIR/../$N.mkisofs_dirs "boot1"
fi
##-----------------------------< end of file >------------------------------##
|