From fc611781d505289fb3a6ebc158339f97db75b2d8 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Mon, 2 Sep 2019 19:10:59 -0600 Subject: [PATCH] Update environment.sh (#266) --- debian/resources/environment.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/resources/environment.sh b/debian/resources/environment.sh index b4953c8..3e81592 100755 --- a/debian/resources/environment.sh +++ b/debian/resources/environment.sh @@ -14,7 +14,12 @@ cpu_architecture='unknown' cpu_mode='unknown' #check what the CPU and OS are -if [ .$cpu_name = .'armv7l' ]; then +if [ .$cpu_name = .'armv6l' ]; then + # RaspberryPi Zero + os_mode='32' + cpu_mode='32' + cpu_architecture='arm' +elif [ .$cpu_name = .'armv7l' ]; then # RaspberryPi 3 is actually armv8l but current Raspbian reports the cpu as armv7l and no Raspbian 64Bit has been released at this time os_mode='32' cpu_mode='32'