From 150d60168dce46dceeb033ee0cb1cda0863b0ae3 Mon Sep 17 00:00:00 2001 From: user1 Date: Sun, 26 Jun 2022 13:30:19 +0200 Subject: [PATCH] [F] Fix script --- .gitignore | 2 ++ raspberry_arch-install.sh | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) mode change 100644 => 100755 raspberry_arch-install.sh diff --git a/.gitignore b/.gitignore index 8470f43..1343b4f 100755 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ test apk.apk test apk1.apk xnee.xns out.txt +boot +root diff --git a/raspberry_arch-install.sh b/raspberry_arch-install.sh old mode 100644 new mode 100755 index 188522d..773f1f9 --- a/raspberry_arch-install.sh +++ b/raspberry_arch-install.sh @@ -33,17 +33,17 @@ echo "Create and mount the FAT filesystem..." sleep 5 -mkfs.vfat /dev/sdX1 +mkfs.vfat ${device}${bootpartitionnummer} mkdir boot -mount /dev/sdX1 boot +mount ${device}${bootpartitionnummer} boot echo "Create and mount the ext4 filesystem..." sleep 5 -mkfs.ext4 /dev/sdX2 +mkfs.ext4 ${device}${rootpartitionnummer} mkdir root -mount /dev/sdX2 root +mount ${device}${rootpartitionnummer} root echo "Download and extract the root filesystem..."