Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/Wandalen/wretry.ac…
Browse files Browse the repository at this point in the history
…tion-3.7.0
  • Loading branch information
bsherman authored Nov 5, 2024
2 parents 5bfe98d + 90054b9 commit f0e6a46
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit f0e6a46

Please sign in to comment.