diff --git a/Containerfile b/Containerfile index 958a2f55e21..7e08555c0e4 100644 --- a/Containerfile +++ b/Containerfile @@ -41,6 +41,21 @@ RUN if [ ${FEDORA_MAJOR_VERSION} -ge "39" ]; then \ || true \ ; fi +# Install Explicit Sync Patches on Nvidia builds +RUN if [[ "${IMAGE_FLAVOR}" =~ "nvidia" ]]; then \ + wget https://copr.fedorainfracloud.org/coprs/gloriouseggroll/nvidia-explicit-sync/repo/fedora-$(rpm -E %fedora)/gloriouseggroll-nvidia-explicit-sync-fedora-$(rpm -E %fedora).repo?arch=x86_64 -O /etc/yum.repos.d/_copr_gloriouseggroll-nvidia-explicit-sync.repo && \ + rpm-ostree override replace \ + --experimental \ + --from repo=copr:copr.fedorainfracloud.org:gloriouseggroll:nvidia-explicit-sync \ + xorg-x11-server-Xwayland && \ + rpm-ostree override replace \ + --experimental \ + --from repo=copr:copr.fedorainfracloud.org:gloriouseggroll:nvidia-explicit-sync \ + egl-wayland \ + || true && \ + rm /etc/yum.repos.d/_copr_gloriouseggroll-nvidia-explicit-sync.repo \ + ; fi + COPY usr /usr COPY just /tmp/just COPY etc/yum.repos.d/ /etc/yum.repos.d/