Add non-free ISO support
This commit is contained in:
parent
dcf134b429
commit
6b6a7db739
|
@ -49,8 +49,12 @@ fi
|
||||||
DEBIAN_VERSION_NAME="stretch"
|
DEBIAN_VERSION_NAME="stretch"
|
||||||
|
|
||||||
## ISO to download and use
|
## ISO to download and use
|
||||||
### Can be dvd, net, netinst or mini
|
### Can be :
|
||||||
DEBIAN_ISO_TYPE="netinst"
|
### dvd
|
||||||
|
### net, netinst
|
||||||
|
### non-free, firm, firmware
|
||||||
|
### mini
|
||||||
|
DEBIAN_ISO_TYPE="firm"
|
||||||
|
|
||||||
# Define URL according to specified release name {{{
|
# Define URL according to specified release name {{{
|
||||||
case "${DEBIAN_VERSION_NAME}" in
|
case "${DEBIAN_VERSION_NAME}" in
|
||||||
|
@ -59,11 +63,13 @@ case "${DEBIAN_VERSION_NAME}" in
|
||||||
|
|
||||||
DEBIAN_ISO_DVD_URL="https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-${DEBIAN_VERSION_NB}-amd64-DVD-1.iso"
|
DEBIAN_ISO_DVD_URL="https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-${DEBIAN_VERSION_NB}-amd64-DVD-1.iso"
|
||||||
DEBIAN_ISO_NETINST_URL="https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-${DEBIAN_VERSION_NB}-amd64-netinst.iso"
|
DEBIAN_ISO_NETINST_URL="https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-${DEBIAN_VERSION_NB}-amd64-netinst.iso"
|
||||||
|
DEBIAN_ISO_NONFREE_URL="http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/archive/9.7.0+nonfree/amd64/iso-cd/firmware-9.7.0-amd64-netinst.iso"
|
||||||
DEBIAN_ISO_MINI_URL="http://ftp.fr.debian.org/debian/dists/${DEBIAN_VERSION_NAME}/main/installer-amd64/current/images/netboot/mini.iso"
|
DEBIAN_ISO_MINI_URL="http://ftp.fr.debian.org/debian/dists/${DEBIAN_VERSION_NAME}/main/installer-amd64/current/images/netboot/mini.iso"
|
||||||
;;
|
;;
|
||||||
"testing" | "buster" | "unstable" | "sid")
|
"testing" | "buster" | "unstable" | "sid")
|
||||||
DEBIAN_ISO_DVD_URL="https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso"
|
DEBIAN_ISO_DVD_URL="https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso"
|
||||||
DEBIAN_ISO_NETINST_URL="https://cdimage.debian.org/cdimage/daily-builds/daily/current/amd64/iso-cd/debian-testing-amd64-netinst.iso"
|
DEBIAN_ISO_NETINST_URL="https://cdimage.debian.org/cdimage/daily-builds/daily/current/amd64/iso-cd/debian-testing-amd64-netinst.iso"
|
||||||
|
DEBIAN_ISO_NONFREE_URL="http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso"
|
||||||
DEBIAN_ISO_MINI_URL="http://ftp.fr.debian.org/debian/dists/${DEBIAN_VERSION_NAME}/main/installer-amd64/current/images/netboot/mini.iso"
|
DEBIAN_ISO_MINI_URL="http://ftp.fr.debian.org/debian/dists/${DEBIAN_VERSION_NAME}/main/installer-amd64/current/images/netboot/mini.iso"
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
@ -82,6 +88,9 @@ case "${DEBIAN_ISO_TYPE}" in
|
||||||
net | netinst )
|
net | netinst )
|
||||||
USE_DEBIAN_ISO="${DEBIAN_ISO_NETINST_URL}"
|
USE_DEBIAN_ISO="${DEBIAN_ISO_NETINST_URL}"
|
||||||
;;
|
;;
|
||||||
|
non-free | firm | firmware )
|
||||||
|
USE_DEBIAN_ISO="${DEBIAN_ISO_NONFREE_URL}"
|
||||||
|
;;
|
||||||
mini )
|
mini )
|
||||||
USE_DEBIAN_ISO="${DEBIAN_ISO_MINI_URL}"
|
USE_DEBIAN_ISO="${DEBIAN_ISO_MINI_URL}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue