fix(nvidia): Only remove colord-kde from kinoite based images

This commit is contained in:
RJ Trujillo 2023-11-30 11:35:51 -07:00
parent ae8ef2e37e
commit 9d305db537

View File

@ -546,7 +546,6 @@ COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSI
# Remove everything that doesn't work well with NVIDIA
RUN rm -f /usr/bin/waydroid-choose-gpu && \
rpm-ostree override remove \
colord-kde \
gamescope.x86_64 \
gamescope-libs.i686 \
rocm-hip \
@ -554,6 +553,10 @@ RUN rm -f /usr/bin/waydroid-choose-gpu && \
rocm-clinfo \
waydroid \
weston && \
if [[ "${BASE_IMAGE_NAME}" == "kinoite" ]]; then \
rpm-ostree override remove \
colord-kde \
; fi && \
rm -f /usr/etc/modprobe.d/amdgpu.conf
# Install NVIDIA driver