From e4732583a9372453c3e6e833bd69c97b5f5fa996 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 8 Feb 2022 10:06:04 +0100 Subject: [PATCH] Use image-customize's new --fresh function See https://github.com/cockpit-project/bots/commit/468ee1b39e2 This avoids hardcoding the test image overlay paths. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aab874c..7096d67 100644 --- a/Makefile +++ b/Makefile @@ -119,8 +119,7 @@ rpm: $(TARFILE) $(NODE_CACHE) $(SPEC) # build a VM with locally built distro pkgs installed $(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots - rm -f $(VM_IMAGE) $(VM_IMAGE).qcow2 - bots/image-customize --verbose --upload $(NODE_CACHE):/var/tmp/ --build $(TARFILE) \ + bots/image-customize --verbose --fresh --upload $(NODE_CACHE):/var/tmp/ --build $(TARFILE) \ --install cockpit-ws \ --script $(CURDIR)/test/vm.install $(TEST_OS)