Skip to content

Commit

Permalink
fix: move to packaged topgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
GarciaLnk committed Oct 6, 2024
1 parent c72fbaa commit bac45b7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 0 additions & 3 deletions build_files/fetch-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ set -ouex pipefail
mkdir -p /etc/flatpak/remotes.d
curl -Lo /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo

# Topgrade Install
pip install --prefix=/usr topgrade

# Install ublue-update -- breaks with packages.json disable staging to use bling.
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/ublue-os-staging-fedora-"${FEDORA_MAJOR_VERSION}".repo
rpm-ostree install ublue-update
Expand Down
1 change: 1 addition & 0 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"stress-ng",
"tailscale",
"tmux",
"topgrade",
"usbmuxd",
"waydroid",
"wine-core",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Service]
Environment="TOPGRADE_SKIP_BRKC_NOTIFY=true"
1 change: 1 addition & 0 deletions system_files/shared/usr/share/ublue-os/just/10-update.just
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ alias upgrade := update
# Update system, flatpaks, and containers all at once
update:
#!/usr/bin/bash
ublue-update --wait
/usr/bin/topgrade --config /usr/share/ublue-os/topgrade.toml --keep

alias auto-update := toggle-updates
Expand Down
6 changes: 5 additions & 1 deletion system_files/shared/usr/share/ublue-os/topgrade.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[misc]
no_self_update = true
disable = ["self_update", "toolbx", "containers", "helm"]
disable = ["self_update", "toolbx", "containers"]
ignore_failures = [
"distrobox",
"flatpak",
Expand All @@ -9,9 +9,13 @@ ignore_failures = [
"nix",
"node",
"pip3",
"git_repos",
"helm",
"home_manager",
"firmware",
"shell",
"snap",
"waydroid",
]
assume_yes = true
no_retry = false
Expand Down

0 comments on commit bac45b7

Please sign in to comment.