From 0fd2d6cd1dc422f66260176f2c99b11470114702 Mon Sep 17 00:00:00 2001 From: Fabrice Laurens Date: Wed, 15 Jan 2025 16:00:34 +0100 Subject: [PATCH] install.sh: continue anyway if /proc/cpuinfo 'Model' check fails (to allow building images on GitHub with latest qemu). --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 4343892e..1dec62d9 100755 --- a/install.sh +++ b/install.sh @@ -38,9 +38,8 @@ fi model=$(grep "^Model" /proc/cpuinfo ; true) if [[ ! "$model" == *"Raspberry Pi Zero"* ]]; then - # not a Pi Zero or Zero 2 - echo "Installation only planned on Raspberry Pi Zero, will cowardly exit" - exit 1 + # not a genuine Pi Zero or Zero 2 + echo "WARNING: Installation only planned on Raspberry Pi Zero, will attempt anyway..." fi if [ $USER == "root" ]; then