fwupd is a simple daemon allowing to update some devices firmware, including UEFI BIOS for several machines thanks to fwupdate.
Install , this will also install as a required dependency.
See #Setup for UEFI BIOS upgrade if you intend such an use.
You can get available devices by running:
$ fwupdmgr get-devices
To refresh metadata on available updates:
$ fwupdmgr refresh
To check which devices have updates:
$ fwupdmgr get-updates
To install updates:
$ fwupdmgr update
Setup for UEFI BIOS upgrade
- Make sure you are booted in UEFI mode.
- Verify your EFI variables are accessible.
- Mount your EFI System Partition (ESP) properly.
espis used to denote the mountpoint in this article.
Verifying leftovers from previous installations
If you had previously installed fwupdate on any other Linux installation, make sure to remove their leftovers in efivars. You can find then by issuing this command:
$ ls /sys/firmware/efi/efivars/fwupdate-*-0abba7dc-e516-4167-bbf5-4d9d1c739416
If they are any results, remove them this way:
# chattr -i /sys/firmware/efi/efivars/fwupdate-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 # rm -f /sys/firmware/efi/efivars/fwupdate-*-0abba7dc-e516-4167-bbf5-4d9d1c739416
Installing and updating fwupdate
Installation and updates to new fwupdate versions requires user intervention. However the update procedure can be automated using pacman hooks (but the manual procedure must be run at least once upon install).
/usr/lib/fwupdate/EFI folder to your ESP:
# cp -r /usr/lib/fwupdate/EFI esp
Pacman hooks are provided in the
If this is your case you can just symlink the relevant file so that it is taken into account:
- for system with
# ln -s /usr/share/doc/fwupdate/esp-as-boot.hook /etc/pacman.d/hooks/fwupdate-efi-copy.hook
- for system with
# ln -s /usr/share/doc/fwupdate/esp-as-boot-efi.hook /etc/pacman.d/hooks/fwupdate-efi-copy.hook
Else, adapt the snippet below to suit your
[Trigger] Type = Package Operation = Install Operation = Upgrade Target = fwupdate [Action] Description = Copying fwupdate to EFI directory... When = PostTransaction Exec = /usr/bin/cp -r /usr/lib/fwupdate/EFI esp
Follow #Usage, but take care of the two following points.
/boot), you specify your esp mount point as follow:
[uefi] # For fwupdate 10+ allow overriding # the compiled EFI system partition path OverrideESPMountPoint=esp