Skip to content

Commit

Permalink
feat(just): add fwupd firmware updates to justfile (#130)
Browse files Browse the repository at this point in the history
* feat(just): add fwupd firmware updates

* fix(just): move firmware update to separate recipe

* chore(just): add description

---------

Co-authored-by: Benjamin Sherman <[email protected]>
  • Loading branch information
renner0e and bsherman authored Oct 5, 2023
1 parent d06e7b5 commit c7c0841
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/ublue-os-just/10-update.just
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ update:
flatpak update -y
distrobox upgrade -a

# Update device firmware
update-firmware:
fwupdmgr refresh
fwupdmgr get-updates
fwupdmgr update

# Disable all auto-update timers
disable-updates:
sudo systemctl disable --now flatpak-system-update.timer rpm-ostreed-automatic.timer
Expand All @@ -14,4 +20,4 @@ disable-updates:
# Enable all auto-update timers
enable-updates:
sudo systemctl enable --now flatpak-system-update.timer rpm-ostreed-automatic.timer
systemctl enable --now --user flatpak-user-update.timer
systemctl enable --now --user flatpak-user-update.timer

0 comments on commit c7c0841

Please sign in to comment.