Skip to content

Commit

Permalink
Disable weak dependencies for updates-testing scenario
Browse files Browse the repository at this point in the history
Fedora 39's dnf has started to install "missing" weak dependencies on
`dnf update`. This pulls in cockpit-{packagekit,networkmanager,...} into
the VM, which we don't want.
  • Loading branch information
martinpitt committed Oct 30, 2023
1 parent ab32bc7 commit 99efdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ rpm: $(TARFILE)
rm -r tmp/rpmbuild

ifeq ("$(TEST_SCENARIO)","updates-testing")
VM_CUSTOMIZE_FLAGS = --run-command 'dnf -y update --enablerepo=updates-testing >&2'
VM_CUSTOMIZE_FLAGS = --run-command 'dnf -y update --setopt=install_weak_deps=False --enablerepo=updates-testing >&2'
endif

ifeq ("$(TEST_SCENARIO)","podman-next")
Expand Down

0 comments on commit 99efdb6

Please sign in to comment.