rpm: make old root.img unlink explicit

Co-authored-by: ttasket <tasket@openmailbox.org>
Closes #1
pull/15/merge mm_3a04f2ad
Marek Marczykowski-Górecki 5 years ago
parent 8b6f0e0e1f
commit 3a04f2adaf
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -78,6 +78,7 @@ if command -v qvm-template-postprocess >/dev/null 2>&1; then
fi
echo "--> Processing the root.img... (this might take a while)"
rm -f %{dest_dir}/root.img
cat %{dest_dir}/root.img.part.* | tar --sparse -xf - -C %{dest_dir}
rm -f %{dest_dir}/root.img.part.*
chown root.qubes %{dest_dir}/root.img

Loading…
Cancel
Save