소스 검색

Merge branch 'master' of https://git.hkwtc.org/TC/arozos

TC 3 년 전
부모
커밋
0039d58334
2개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      documents/headless setup files/install_latest_hkwtc.sh
  2. 4 1
      documents/headless setup files/install_release_github.sh

+ 4 - 1
documents/headless setup files/install_latest_hkwtc.sh

@@ -12,13 +12,16 @@ echo "Cloning ArozOS from source"
 git clone https://git.hkwtc.org/TC/arozos.git
 
 echo "Installing Golang"
-arch=$(uname -i)
+arch=$(uname -m)
 gover="1.17.6"
 if [[ $arch == x86_64* ]]; then
     echo "Selecting x64 Architecture"
     wget https://golang.org/dl/go$gover.linux-amd64.tar.gz
 elif  [[ $arch == arm* ]]; then
     echo "Selecting ARM Architecture"
+    wget https://golang.org/dl/go$gover.linux-armv6l.tar.gz
+elif  [[ $arch == "aarch64" ]]; then
+    echo "Selecting ARM64 Architecture"
     wget https://golang.org/dl/go$gover.linux-arm64.tar.gz
 elif [[ $arch == "unknown" ]]; then
     echo "Unknown CPU arch. Please enter CPU architecture manually (arm/arm64/amd64)"

+ 4 - 1
documents/headless setup files/install_release_github.sh

@@ -12,13 +12,16 @@ echo "Cloning ArozOS from source"
 git clone https://github.com/tobychui/arozos
 
 echo "Installing Golang"
-arch=$(uname -i)
+arch=$(uname -m)
 gover="1.17.6"
 if [[ $arch == x86_64* ]]; then
     echo "Selecting x64 Architecture"
     wget https://golang.org/dl/go$gover.linux-amd64.tar.gz
 elif  [[ $arch == arm* ]]; then
     echo "Selecting ARM Architecture"
+    wget https://golang.org/dl/go$gover.linux-armv6l.tar.gz
+elif  [[ $arch == "aarch64" ]]; then
+    echo "Selecting ARM64 Architecture"
     wget https://golang.org/dl/go$gover.linux-arm64.tar.gz
 elif [[ $arch == "unknown" ]]; then
     echo "Unknown CPU arch. Please enter CPU architecture manually (arm/arm64/amd64)"