Makefile: depend on test/vm.install for the VM image target

Make sure to recreate the VM image in case the test/vm.install script
changes.
This commit is contained in:
Pino Toscano 2022-03-18 08:33:47 +01:00 committed by Martin Pitt
parent 65bf109fad
commit a46b26a8ff

View file

@ -129,7 +129,7 @@ rpm: $(TARFILE) $(NODE_CACHE) $(SPEC)
# build a VM with locally built distro pkgs installed
# disable networking, VM images have mock/pbuilder with the common build dependencies pre-installed
$(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots
$(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots test/vm.install
bots/image-customize --no-network --fresh \
--upload $(NODE_CACHE):/var/tmp/ --build $(TARFILE) \
--script $(CURDIR)/test/vm.install $(TEST_OS)