6
# $2 is the temporary CD build dir
8
. $BASEDIR/tools/boot/$DI_CODENAME/common.sh
15
if [ "$DI_WWW_HOME" = "default" ];then
16
DI_WWW_HOME="http://people.debian.org/~jbailey/d-i/ia64/daily"
17
if [ -n "$DI_DIR" ];then
18
DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
22
if [ ! "$DI_DIST" ]; then
23
DI_DIST="$DI_CODENAME"
28
# Only disc 1 bootable
29
if [ $N != 1 -a $N != 1_NONUS ]; then
30
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J"
34
# Download boot images
35
for image in boot.img; do
36
if [ ! -e "$image" ]; then
37
if [ ! "$DI_WWW_HOME" ];then
38
if [ ! "$DI_DIR" ];then
39
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
41
cp "$DI_DIR/cdrom/$image" . || \
44
wget "$DI_WWW_HOME/cdrom/$image" || \
45
wget "$DI_WWW_HOME/$image"
50
install_languages $CDDIR
53
cp -f boot.img boot$N/boot/
55
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J"
56
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-no-emul-boot"
57
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-b boot/boot.img"
58
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-c boot/boot.catalog"
60
add_mkisofs_opt $CDDIR/../$N.mkisofs_dirs "boot$N"