From 11f0d219dbea70af8904e299de1a438fa9d31c66 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 24 Oct 2016 06:04:44 -0500 Subject: [PATCH] Add support for Acer Chromebase 24 (buddy) Improve error msg when run on ARM-based devices Signed-off-by: Matt DeVillier --- functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index a4ea339..f1f9fc4 100644 --- a/functions.sh +++ b/functions.sh @@ -37,7 +37,7 @@ hasShellball=false hsw_boxes=('' '' '' '' ''); hsw_books=('' '' '' ''); bdw_boxes=('' '' ''); -bdw_books=('' '' '' '' ''); +bdw_books=('' '' '' '' '' ''); baytrail=('' '' '' '' '' '' '' '' '' '' '' '' '' '' ''); baytrail_full_rom=('' '' '' '' '' '' '' ''); braswell=('' '' '' '' '' '' '' ''); @@ -271,6 +271,7 @@ fi device=$(dmidecode -s system-product-name | tr '[:upper:]' '[:lower:]' | awk 'NR==1{print $1}') if [[ $? -ne 0 || "${device}" = "" ]]; then echo_red "Unable to determine Chromebox/book model; cannot continue." + echo_red "It's likely you are using an unsupported ARM-based ChromeOS device,\nonly Intel-based devices are supported at this time." return 1 fi [[ "${hsw_boxes[@]}" =~ "$device" ]] && isHswBox=true