diff --git a/arch-installpi-spectre_os.sh b/arch-installpi-spectre_os.sh index 968f7e9..7018d6e 100755 --- a/arch-installpi-spectre_os.sh +++ b/arch-installpi-spectre_os.sh @@ -13,9 +13,9 @@ fdisk -l read -p "Wo soll das Image aufgespielt werden?: /dev/sda : " device [[ -z "${device}" ]] && device=/dev/sda -if [ -f arch-spectre_os-*-armV7.tar.gz ] +if [ -f arch-spectre_os-*-armV7.tar.pxz ] then - image=$(find arch-spectre_os-*-armV7.tar.gz) + image=$(find arch-spectre_os-*-armV7.tar.pxz) echo $datei else echo "ABGEBROCHEN" @@ -84,7 +84,7 @@ mkfs.ext4 /dev/"$device"2 mkdir -p root mount /dev/"$device"2 root -tar -Ipixz -xpf arch-spectre_os-*-armV7.tar.gz -C root +tar -Ipixz -xpf arch-spectre_os-*-armV7.tar.pxz -C root sync mv root/boot/* boot diff --git a/make_spectre_os-pi.sh b/make_spectre_os-pi.sh index efb131f..f394a9b 100755 --- a/make_spectre_os-pi.sh +++ b/make_spectre_os-pi.sh @@ -38,7 +38,7 @@ cp -R boot/* root/boot/ cd root/ mkdir -p ../${out_dir}/ -tar -Ipixz -cpf ../${out_dir}/arch-${name}-$(date "+%y.%m.%d")-${arch}.tar.gz * +tar -Ipixz -cpf ../${out_dir}/arch-${name}-$(date "+%y.%m.%d")-${arch}.tar.pxz * cd .. echo "FERTIG!!!" exit 0