From 4015dad1f2c8b332d4f5c2d0406026a647cc02c2 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 9 Jun 2018 00:48:53 +0200 Subject: [PATCH] tar.pxz --- arch-installpi-spectre_os.sh | 6 +++--- make_spectre_os-pi.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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