Debian Codegraph @

tools/boot/kali-last-snapshot/boot-armel

raw
1 #!/bin/bash
2 # Do install stuff for armel
3 # Works with debian-installer
4 #
5 # $1 is the CD number
6 # $2 is the temporary CD build dir
7 #
8 # This is copied from the old arm script and it is currently disabled as there
9 # don't seem to be any CD-bootable armel/armhf machines.
10
11 . $BASEDIR/tools/boot/$DI_CODENAME/common.sh
12
13 N=$1
14 CDDIR=$2
15 INSTALLDIR="install"
16
17 # Common options for all disks
18 add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"
19 add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-cache-inodes"
20 add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-l"
21
22 # Exit if this is not CD#1/DVD#1
23 if [ $N != "1" ]; then
24 exit 0
25 fi
26
27 if [ "$DI_WWW_HOME" = "default" ]; then
28 DI_WWW_HOME="https://d-i.debian.org/daily-images/armel/daily"
29 try_di_image_cache
30 else
31 DI_WWW_HOME=$(echo $DI_WWW_HOME | sed "s,%ARCH%,$ARCH,")
32 fi
33
34 # armel is currently not bootable directly from CD/DVD/USB, and
35 # there's not a lot we can do about that. But add the needed files in
36 # the right place so that users can find them, at least
37 copy_arch_images