From e3b8cd134a06d995dd6864ac059a6f3e43f8530d Mon Sep 17 00:00:00 2001 From: frederik Date: Mon, 19 Feb 2024 15:54:02 +0100 Subject: [PATCH] allow x86_64 for development purposes --- newinstaller.sh | 6 ++---- scripts/install_birdnet.sh | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/newinstaller.sh b/newinstaller.sh index e7db8c2..fb0cac8 100755 --- a/newinstaller.sh +++ b/newinstaller.sh @@ -5,12 +5,10 @@ if [ "$EUID" == 0 ] exit fi -if [ "$(uname -m)" != "aarch64" ];then +if [ "$(uname -m)" != "aarch64" ] && [ "$(uname -m)" != "x86_64" ];then echo "BirdNET-Pi requires a 64-bit OS. It looks like your operating system is using $(uname -m), -but would need to be aarch64. -Please take a look at https://birdnetwiki.pmcgui.xyz for more -information" +but would need to be aarch64." exit 1 fi diff --git a/scripts/install_birdnet.sh b/scripts/install_birdnet.sh index 3a6a601..107c606 100755 --- a/scripts/install_birdnet.sh +++ b/scripts/install_birdnet.sh @@ -12,12 +12,10 @@ git log -n 1 --pretty=oneline --no-color --decorate source install_helpers.sh -if [ "$(uname -m)" != "aarch64" ];then +if [ "$(uname -m)" != "aarch64" ] && [ "$(uname -m)" != "x86_64" ];then echo "BirdNET-Pi requires a 64-bit OS. It looks like your operating system is using $(uname -m), -but would need to be aarch64. -Please take a look at https://birdnetwiki.pmcgui.xyz for more -information" +but would need to be aarch64." exit 1 fi