tar.pxz
This commit is contained in:
parent
b23f06d858
commit
4015dad1f2
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue