diff --git a/install.sh b/install.sh index 767527e5..28dfbab8 100755 --- a/install.sh +++ b/install.sh @@ -60,6 +60,16 @@ if [[ "$FEDORA_MAJOR_VERSION" -ne "41" ]]; then libvdpau fi +# Disable DKMS support in gnome-software +if [[ "$FEDORA_MAJOR_VERSION" -ge "41" && "$IMAGE_NAME" == "silverblue" ]]; then + rpm-ostree override remove \ + gnome-software-rpm-ostree + rpm-ostree override replace \ + --experimental \ + --from repo=copr:copr.fedorainfracloud.org:ublue-os:staging \ + gnome-software +fi + # run common packages script /ctx/packages.sh @@ -72,10 +82,6 @@ CSFG=/usr/lib/systemd/system-generators/coreos-sulogin-force-generator curl -sSLo ${CSFG} https://raw.githubusercontent.com/coreos/fedora-coreos-config/refs/heads/stable/overlay.d/05core/usr/lib/systemd/system-generators/coreos-sulogin-force-generator chmod +x ${CSFG} -# prevent gnome software from warning about dkms secureboot as these warnings -# would duplicate warnings provided by ublue already. we don't want confusion -rm -f /usr/libexec/gnome-software-dkms-helper - if [[ "${KERNEL_VERSION}" == "${QUALIFIED_KERNEL}" ]]; then /ctx/initramfs.sh fi