Skip to content

Commit

Permalink
tests: Add hack so we can prepare F31 machine
Browse files Browse the repository at this point in the history
  • Loading branch information
marusak committed Oct 17, 2019
1 parent bc87fcf commit d1018a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ rpm: dist-gzip $(RPM_NAME).spec
# build a VM with locally built rpm installed
$(VM_IMAGE): rpm bots
rm -f $(VM_IMAGE) $(VM_IMAGE).qcow2
# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1762663
if [ $(TEST_OS) == "fedora-31" ]; then bots/image-customize -v -r 'grub2-editenv - set "$$(grub2-editenv list | grep ^kernelopts) debug"' $(TEST_OS); fi
bots/image-customize -v -i cockpit-ws -i `pwd`/$(RPM_NAME)-*.noarch.rpm -s $(CURDIR)/test/vm.install $(TEST_OS)
if [ $(TEST_OS) == "fedora-31" ]; then bots/image-customize -v -r 'grub2-editenv - set "$$(grub2-editenv list | grep ^kernelopts | sed "s/debug//")"' $(TEST_OS); fi

# convenience target for the above
vm: $(VM_IMAGE)
Expand Down

0 comments on commit d1018a2

Please sign in to comment.