From 5d5d75d076e481933e7c561a187d250b87e8ace4 Mon Sep 17 00:00:00 2001 From: user1 Date: Fri, 30 Dec 2022 23:33:12 +0100 Subject: [PATCH] [C] Change to aarch64 Version --- .gitignore | 1 + README.md | 4 ++++ raspberry_arch-install.sh | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 53fe5f6..331bd71 100755 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ out.txt boot root ArchLinuxARM-rpi-armv7-latest.tar.gz +ArchLinuxARM-rpi-aarch64-latest.tar.gz diff --git a/README.md b/README.md index 048326b..378c55e 100755 --- a/README.md +++ b/README.md @@ -39,3 +39,7 @@ find -name "*.tmp" -exec rm -vf {} \; ### Setzt das Repository auf dem aktuellen HEAD zurück und löscht neue Dateien die bis dahin erzeugt wurden git reset --hard 8& git clean -dfx + +### Qemu chroot Raspberry PI +pacman -S qemu-user-static qemu-user-static-binfmt +https://wiki.archlinux.org/title/QEMU#Chrooting_into_arm/arm64_environment_from_x86_64 diff --git a/raspberry_arch-install.sh b/raspberry_arch-install.sh index 6389967..f8f5cb4 100755 --- a/raspberry_arch-install.sh +++ b/raspberry_arch-install.sh @@ -66,10 +66,10 @@ echo "Download and extract the root filesystem..." sleep 5 -if ! [ -f "ArchLinuxARM-rpi-armv7-latest.tar.gz" ]; then - wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-armv7-latest.tar.gz +if ! [ -f "ArchLinuxARM-rpi-aarch64-latest.tar.gz" ]; then + wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz fi -bsdtar -xpf ArchLinuxARM-rpi-armv7-latest.tar.gz -C root +bsdtar -xpf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C root sync echo "Move boot files to the first partition..."