This commit is contained in:
simono41 2018-06-08 22:51:56 +02:00
parent 046005c6df
commit 6fb54fd960

View file

@ -13,9 +13,9 @@ fdisk -l
read -p "Wo soll das Image aufgespielt werden?: /dev/sda : " device read -p "Wo soll das Image aufgespielt werden?: /dev/sda : " device
[[ -z "${device}" ]] && device=/dev/sda [[ -z "${device}" ]] && device=/dev/sda
if [ -f arch-simon_os-*-armV7.tar.gz ] if [ -f arch-spectre_os-*-armV7.tar.gz ]
then then
image=$(find arch-simon_os-*-armV7.tar.gz) image=$(find arch-spectre_os-*-armV7.tar.gz)
echo $datei echo $datei
else else
echo "ABGEBROCHEN" echo "ABGEBROCHEN"
@ -84,7 +84,7 @@ mkfs.ext4 /dev/"$device"2
mkdir -p root mkdir -p root
mount /dev/"$device"2 root mount /dev/"$device"2 root
tar -xpf arch-simon_os-*-armV7.tar.gz -C root tar -xpf arch-spectre_os-*-armV7.tar.gz -C root
sync sync
mv root/boot/* boot mv root/boot/* boot