Makefile: Fix image-customize call for multiple rpms
Ensure that we only install the current rpm into the VM. If there are older ones in the build tree, image-customize otherwise fails.
This commit is contained in:
parent
b57fe40296
commit
24311984e8
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -123,7 +123,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) $(VM_IMAGE).qcow2
|
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)-*$(VERSION)*.noarch.rpm -s $(CURDIR)/test/vm.install $(TEST_OS)
|
||||||
|
|
||||||
# convenience target for the above
|
# convenience target for the above
|
||||||
vm: $(VM_IMAGE)
|
vm: $(VM_IMAGE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue