From 8e864fc56049c3b075f46b58e327b4623162f0b9 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 27 Feb 2020 15:46:18 -0600 Subject: [PATCH] distro: clean this up Signed-off-by: Robert Nelson --- lib/distro.conf | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/lib/distro.conf b/lib/distro.conf index acb8087..4a0e401 100755 --- a/lib/distro.conf +++ b/lib/distro.conf @@ -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 #