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
|
read -p "Wo soll das Image aufgespielt werden?: /dev/sda : " device
|
||||||
[[ -z "${device}" ]] && device=/dev/sda
|
[[ -z "${device}" ]] && device=/dev/sda
|
||||||
|
|
||||||
if [ -f arch-spectre_os-*-armV7.tar.gz ]
|
if [ -f arch-spectre_os-*-armV7.tar.pxz ]
|
||||||
then
|
then
|
||||||
image=$(find arch-spectre_os-*-armV7.tar.gz)
|
image=$(find arch-spectre_os-*-armV7.tar.pxz)
|
||||||
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 -Ipixz -xpf arch-spectre_os-*-armV7.tar.gz -C root
|
tar -Ipixz -xpf arch-spectre_os-*-armV7.tar.pxz -C root
|
||||||
sync
|
sync
|
||||||
|
|
||||||
mv root/boot/* boot
|
mv root/boot/* boot
|
||||||
|
|
|
@ -38,7 +38,7 @@ cp -R boot/* root/boot/
|
||||||
|
|
||||||
cd root/
|
cd root/
|
||||||
mkdir -p ../${out_dir}/
|
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 ..
|
cd ..
|
||||||
echo "FERTIG!!!"
|
echo "FERTIG!!!"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue