[C] Change to aarch64 Version

This commit is contained in:
user1 2022-12-30 23:33:12 +01:00
parent 84228fd309
commit 5d5d75d076
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ out.txt
boot
root
ArchLinuxARM-rpi-armv7-latest.tar.gz
ArchLinuxARM-rpi-aarch64-latest.tar.gz

View file

@ -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

View file

@ -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..."