pi_fix
This commit is contained in:
parent
046005c6df
commit
6fb54fd960
1 changed files with 3 additions and 3 deletions
|
@ -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
|
Loading…
Reference in a new issue