From 96f8a6644014fc00279e03682b9c84668a022a97 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 24 Aug 2021 13:38:06 +0200 Subject: [PATCH] Fix list for 2021 --- README.md | 1 - installer.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e4fca2a..bb66a69 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ bash installer.sh --machine MY_MACHINE ## Supported Machine types -- intel-nuc - generic-x86-64 - odroid-c2 - odroid-n2 diff --git a/installer.sh b/installer.sh index 7c95e8a..d9e6cdb 100644 --- a/installer.sh +++ b/installer.sh @@ -181,7 +181,7 @@ case $ARCH in ;; esac -if [[ ! "${MACHINE}" =~ ^(intel-nuc|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker)$ ]]; then +if [[ ! "${MACHINE}" =~ ^(generic-x86-64|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker|khadas-vim3)$ ]]; then error "Unknown machine type ${MACHINE}!" fi