6
# $2 is the temporary CD build dir
8
# genisovh is used to make ISOs bootable on mips.
10
. $BASEDIR/tools/boot/$DI_CODENAME/common.sh
16
if [ "$DI_WWW_HOME" = "default" ];then
17
DI_WWW_HOME="http://people.debian.org/~ths/d-i/images/daily/"
18
if [ -n "$DI_DIR" ];then
19
DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
23
if [ ! "$DI_DIST" ]; then
24
DI_DIST="$DI_CODENAME"
27
add_mkisofs_opt $CDROOT/../$N.mkisofs_opts "-J -joliet-long"
29
# Only disk 1* bootable
30
if [ $N != 1 -a $N != 1_NONUS ]; then
34
if [ ! "$DI_WWW_HOME" ];then
35
if [ ! "$DI_DIR" ];then
36
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
40
wget -P "$DI_DIR/r4k-ip22" "$DI_WWW_HOME/r4k-ip22/cdrom-boot.img"
41
# r5k-ip32 has no cdrom boot image yet
42
# wget -P "$DI_DIR/r5k-ip32" "$DI_WWW_HOME/r5k-ip32/cdrom-boot.img"
44
install -m 644 -D "$DI_DIR"/r4k-ip22/cdrom-boot.img "$CDROOT"/install/r4k-ip22-boot.img
45
#r5k-ip32 has no cdrom boot image yet
46
#install -m 644 -D "$DI_DIR"/r5k-ip32/cdrom-boot.img "$CDROOT"/install/r5k-ip32-boot.img
48
install_languages $CDROOT
50
add_mkisofs_opt $CDROOT/../$N.mkisofs_opts "-mips-boot install/r4k-ip22-boot.img"
51
#r5k-ip32 has no cdrom boot image yet
52
#add_mkisofs_opt $CDROOT/../$N.mkisofs_opts "-mips-boot install/r5k-ip32-boot.img"