From 3a04f2adaf709e650be4aa7c3e088eacbb2d46ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 2 Dec 2018 16:42:48 +0100 Subject: [PATCH] rpm: make old root.img unlink explicit Co-authored-by: ttasket Closes #1 --- templates.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/templates.spec b/templates.spec index 4511621..594c182 100644 --- a/templates.spec +++ b/templates.spec @@ -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