test: Really clean up test VM on image preparation
The previous fix (commit 6e05f5b483) only cleaned
test/images/$(TEST_OS), which is just a symlink to $(TEST_OS).qcow.
Clean the actual image as well.
Closes #46
This commit is contained in:
parent
6e05f5b483
commit
1da6473420
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -118,7 +118,7 @@ rpm: dist-gzip cockpit-$(PACKAGE_NAME).spec
|
||||||
|
|
||||||
# build a VM with locally built rpm installed
|
# build a VM with locally built rpm installed
|
||||||
$(VM_IMAGE): rpm bots
|
$(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)
|
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
|
# convenience target for the above
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue