distro: clean this up

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent 450a7aef3c
commit 8e864fc560

@ -1,48 +1,22 @@
#!/bin/bash
unset UBOOTWRAPPER
NETIMAGE="current"
NETINSTALL="initrd.gz"
case "${DISTARCH}-${debian_boot}" in
trusty-armhf-netboot)
trusty-armhf-netboot|xenial-armhf-netboot|bionic-armhf-netboot)
#http://ports.ubuntu.com/dists/trusty/main/installer-armhf/
NETIMAGE="current"
HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists"
BASE_IMAGE="generic/netboot"
NETINSTALL="initrd.gz"
;;
xenial-armhf-netboot)
#http://ports.ubuntu.com/dists/xenial/main/installer-armhf/
NETIMAGE="current"
HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists"
BASE_IMAGE="generic/netboot"
NETINSTALL="initrd.gz"
;;
bionic-armhf-netboot)
#http://ports.ubuntu.com/dists/bionic/main/installer-armhf/
NETIMAGE="current"
HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists"
BASE_IMAGE="generic/netboot"
NETINSTALL="initrd.gz"
;;
jessie-armhf-netboot)
jessie-armhf-netboot|stretch-armhf-netboot|buster-armhf-netboot)
#http://ftp.us.debian.org/debian/dists/jessie/main/installer-armhf/
NETIMAGE="current"
HTTP_IMAGE="http://ftp.debian.org/debian/dists"
BASE_IMAGE="netboot"
NETINSTALL="initrd.gz"
;;
stretch-armhf-netboot)
#http://ftp.us.debian.org/debian/dists/stretch/main/installer-armhf/
NETIMAGE="current"
HTTP_IMAGE="http://ftp.debian.org/debian/dists"
BASE_IMAGE="netboot"
NETINSTALL="initrd.gz"
;;
buster-armhf-netboot)
#http://ftp.us.debian.org/debian/dists/buster/main/installer-armhf/
NETIMAGE="current"
HTTP_IMAGE="http://ftp.debian.org/debian/dists"
BASE_IMAGE="netboot"
NETINSTALL="initrd.gz"
;;
esac
#

Loading…
Cancel
Save