Skip to content

Commit

Permalink
feat: use topgrade for manual upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Jan 20, 2024
1 parent 9b122a7 commit cfa0656
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 @@
[include]
paths = ["/etc/ublue-os/topgrade.toml"]

[misc]
disable = ["toolbx", "self_update"]
ignore_failures = ["distrobox", "flatpak", "brew_cask", "brew_formula", "nix", "pip3"]

0 comments on commit cfa0656

Please sign in to comment.