From 48f1fe242239c233d2b24dcf7f022f06486f0c03 Mon Sep 17 00:00:00 2001 From: simono41 Date: Fri, 8 Jun 2018 23:03:09 +0200 Subject: [PATCH] permissions --- arch-installpi-spectre_os.sh | 2 +- make_spectre_os-pi.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-installpi-spectre_os.sh b/arch-installpi-spectre_os.sh index 22dbf3a..968f7e9 100755 --- a/arch-installpi-spectre_os.sh +++ b/arch-installpi-spectre_os.sh @@ -84,7 +84,7 @@ mkfs.ext4 /dev/"$device"2 mkdir -p root mount /dev/"$device"2 root -tar -Ipixz -xf arch-spectre_os-*-armV7.tar.gz -C root +tar -Ipixz -xpf arch-spectre_os-*-armV7.tar.gz -C root sync mv root/boot/* boot diff --git a/make_spectre_os-pi.sh b/make_spectre_os-pi.sh index 1a25758..efb131f 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 -cf ../${out_dir}/arch-${name}-$(date "+%y.%m.%d")-${arch}.tar.gz * +tar -Ipixz -cpf ../${out_dir}/arch-${name}-$(date "+%y.%m.%d")-${arch}.tar.gz * cd .. echo "FERTIG!!!" exit 0