Include checking for firmware updates in ml4w-install-system-updates using fwupd - #1804
Open
Equalizer5118 wants to merge 6 commits into
Open
Include checking for firmware updates in ml4w-install-system-updates using fwupd#1804Equalizer5118 wants to merge 6 commits into
ml4w-install-system-updates using fwupd#1804Equalizer5118 wants to merge 6 commits into
Conversation
Automatically check for firmware updates when searching for system updates, runs after updating system packages and flatpak packages and gives option to install firmware updates now or abort for manual install.
Returned the intent spacing to its original 4 spaces. My IDE decided to nuke the spacing in the file for some reason...
Equalizer5118
marked this pull request as ready for review
August 25, 2026 01:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request updates
dotifles/.config/ml4w/scripts/ml4w-install-system-updatesto check for firmware updates using fwupd automatically, and also gives the user the option to install automatically or manually. The fwupd package is installed by default on Fedora and openSUSE distros, so it is only added as a dependency on Arch.Changes
Context
By default, the only way most people have to check for firmware updates is manually via fwupdmgr get-updates, but I figure that this script already runs flatpak update alongside grabbing system package updates, so we may as well use this opportunity to check for firmware updates. I edited my ml4w-install-system-updates script on my pc to automatically check for firmware updates using fwupd, and checks the output to see if any updates are available, asking to install if true.
How Has This Been Tested?
I have used these script changes for about 4 months on my personal ml4w install that I have modified to my liking. Other than some issues that I caused with my personal Arch installation, it has worked perfectly, and notified my of firmware updates and even installed them correctly. I test the if statements by flipping the true/false check, and they work well. You can try this as well to check. fwupd comes pre-installed and works on the other 2 advertised distros, so there shouldn't be any issues there.
Checklist
Please ensure your pull request meets the following requirements:
Screenshots
Related Issues
Does not relate to any issues.
Additional Notes
None I have found. If the user's installation is atypical (differing EFI boot location) this will fail, but that is the fault of fwupd, not necessarily this script. I have included a catch for these errors, and the script will tell the user if any of these errors are in the output. It also tells the user to refer to the documentation on fwupd instead of making an issue here about the error they receive.