diff --git a/debian/control b/debian/control index 2f1138c3..94495a60 100644 --- a/debian/control +++ b/debian/control @@ -125,6 +125,7 @@ Depends: dnf | yum-utils, curl, qubes-core-qrexec, + qubes-repo-templates, Replaces: qubes-core-agent (<< 4.1.28-1) Breaks: qubes-core-agent (<< 4.1.28-1) Description: Scripts required to handle dom0 updates. diff --git a/qubes-rpc/qvm-template-repo-query b/qubes-rpc/qvm-template-repo-query index 687de8fc..2e78cb7c 100755 --- a/qubes-rpc/qvm-template-repo-query +++ b/qubes-rpc/qvm-template-repo-query @@ -26,8 +26,7 @@ repodir=$(mktemp -d) trap 'rm -r "$repodir"' EXIT cat > "$repodir/template.repo" -OPTS+=("--setopt=reposdir=${repodir}") -OPTS+=("--quiet") +OPTS+=(-y "--setopt=reposdir=${repodir}" --quiet) # use vendored 'downloadurl' dnf-plugin (fork of 'download' plugin), to print # all mirrors diff --git a/rpm_spec/core-agent.spec.in b/rpm_spec/core-agent.spec.in index 05a3b1fd..325c56b6 100644 --- a/rpm_spec/core-agent.spec.in +++ b/rpm_spec/core-agent.spec.in @@ -259,6 +259,7 @@ Requires: qubes-core-agent = %{version} Requires: fakeroot Conflicts: qubes-core-vm < 4.0.0 Requires: tar +Requires: qubes-repo-templates %description dom0-updates Scripts required to handle dom0 updates.