From 9d305db53784515d135e5f18670a705cdf65cdd3 Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Thu, 30 Nov 2023 11:35:51 -0700 Subject: [PATCH] fix(nvidia): Only remove colord-kde from kinoite based images --- Containerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index d51e5746..8bcfd623 100644 --- a/Containerfile +++ b/Containerfile @@ -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