Skip to content

Commit

Permalink
fix: Correct rpm-ostree issue that prevents rollbacks (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored Aug 28, 2024
1 parent 7d01b96 commit 2a37660
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ if [[ "${FEDORA_MAJOR_VERSION}" -ge 39 ]]; then
sed -i '0,/enabled=0/{s/enabled=0/enabled=1\npriority=110/}' /etc/yum.repos.d/rpmfusion-*-updates-testing.repo
fi

# Temporary fix for an upstream issue
# https://github.com/coreos/rpm-ostree/issues/5048
if [[ "${FEDORA_MAJOR_VERSION}" -eq 40 ]]; then
rpm-ostree override replace \
--experimental \
--from repo=copr:copr.fedorainfracloud.org:ublue-os:staging \
rpm-ostree \
rpm-ostree-libs
fi

# after F41 launches, bump to 42
if [[ "${FEDORA_MAJOR_VERSION}" -ge 41 ]]; then
# note: this is done before single mirror hack to ensure this persists in image and is not reset
Expand Down
6 changes: 3 additions & 3 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@
"pam_yubico",
"pamu2fcfg",
"pipewire-codec-aptx",
"pipewire-plugin-libcamera",
"pipewire-plugin-libcamera",
"powerstat",
"smartmontools",
"solaar-udev",
"squashfs-tools",
"squashfs-tools",
"symlinks",
"tcpdump",
"tmux",
"traceroute",
"vim",
"wireguard-tools",
"yubikey-manager",
"yubikey-manager",
"zstd"
],
"silverblue": [
Expand Down

0 comments on commit 2a37660

Please sign in to comment.