From 1da6473420960a8e982a231534d64f1d96fdfca0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 6 Sep 2018 16:51:42 +0200 Subject: [PATCH] test: Really clean up test VM on image preparation The previous fix (commit 6e05f5b4837) only cleaned test/images/$(TEST_OS), which is just a symlink to $(TEST_OS).qcow. Clean the actual image as well. Closes #46 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67d1559..6bd672c 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,7 @@ rpm: dist-gzip cockpit-$(PACKAGE_NAME).spec # build a VM with locally built rpm installed $(VM_IMAGE): rpm bots - rm -f $(VM_IMAGE) + rm -f $(VM_IMAGE) $(VM_IMAGE).qcow2 bots/image-customize -v -i cockpit -i `pwd`/cockpit-$(PACKAGE_NAME)-*.noarch.rpm -s $(CURDIR)/test/vm.install $(TEST_OS) # convenience target for the above