File: boot-arm

package info (click to toggle)
debian-cd 3.1.13
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,244 kB
  • sloc: sh: 4,925; perl: 3,730; makefile: 387
file content (40 lines) | stat: -rwxr-xr-x 1,026 bytes parent folder | download | duplicates (2)
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
#!/bin/sh
#
# Do install stuff for arm*, including making bootable CDs
# Works with debian-installer
#
# $1 is the CD number
# $2 is the temporary CD build dir
#
# This is copied from the old arm script and it is currently disabled as there
# don't seem to be any bootable armel/armhf machines.

. $BASEDIR/tools/boot/$CODENAME/common.sh

set -e

N=$1
CDDIR=$2
if [ "$DI_WWW_HOME" = "default" ];then
    if [ "$ARCH" = armel ]; then
	    DI_WWW_HOME="http://d-i.debian.org/daily-images/armel/daily"
    else
	    DI_WWW_HOME="http://d-i.debian.org/daily-images/armhf/daily"
    fi
    if [ -n "$DI_DIR" ];then
        DI_DIR="$DI_DIR/${DI_WWW_HOME#*http://}"
        DI_WWW_HOME=""                     
        echo "Using images from $DI_DIR"
    fi
fi
if [ ! "$DI_DIST" ]; then
    DI_DIST="$DI_CODENAME"
fi

cd $CDDIR/..

add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"

# Arm* is currently not bootable directly from CD in wheezy, so bail out here
echo "Armel/armhf booting disabled, check with Sledge"
exit 0