diff --git a/Dockerfile b/Dockerfile index 09d3dec67..c7b1d519a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,8 @@ case $ID in centos|rhel) dnf config-manager --set-enabled crb;; fedora) dnf -y install dnf-utils 'dnf5-command(builddep)';; esac +# Handle version skew, xref https://gitlab.com/redhat/centos-stream/containers/bootc/-/issues/1174 +dnf -y distro-sync ostree{,-libs} systemd dnf -y builddep /tmp/bootc.spec # Extra dependencies dnf -y install git-core diff --git a/tmt/tests/bootc-install-provision.sh b/tmt/tests/bootc-install-provision.sh index 6c9968c09..ca8f82dce 100755 --- a/tmt/tests/bootc-install-provision.sh +++ b/tmt/tests/bootc-install-provision.sh @@ -119,6 +119,8 @@ case $ID in centos|rhel) dnf config-manager --set-enabled crb;; fedora) dnf -y install dnf-utils 'dnf5-command(builddep)';; esac +# Handle version skew +dnf -y distro-sync ostree{,-libs} systemd dnf -y builddep contrib/packaging/bootc.spec # Extra dependencies dnf -y install git-core