Skip to content

Commit

Permalink
feat: use topgrade for manual upgrades (#822)
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
  • Loading branch information
castrojo and KyleGospo authored Jan 20, 2024
1 parent 9b122a7 commit 8639734
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions just/10-update.just
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# vim: set ft=make :

alias upgrade := update

# Update system, flatpaks, and containers all at once
update:
/usr/bin/topgrade --config /usr/share/ublue-os/topgrade.toml

# Update device firmware
[no-exit-message]
update-firmware:
/usr/bin/fwupdmgr refresh --force
/usr/bin/fwupdmgr get-updates
/usr/bin/fwupdmgr update
6 changes: 6 additions & 0 deletions usr/share/ublue-os/topgrade.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[misc]
no_self_update = true
assume_yes = true
no_retry = true
disable = ["toolbx", "self_update"]
ignore_failures = ["distrobox", "flatpak", "brew_cask", "brew_formula", "nix", "pip3"]

0 comments on commit 8639734

Please sign in to comment.