Skip to content

Commit

Permalink
feat: Add Explicit sync patches for XWayland on Nvidia builds (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored Mar 2, 2024
1 parent 6177f02 commit 025b662
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 025b662

Please sign in to comment.