No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fabian Grünbichler cb14036ad5 bump version to 2.0.20-1~deb13u1+pmx1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2026-07-20 09:33:46 +02:00
.github trivial: Fix CI to use ghcr.io rather than docker.pkg.github.com 2026-02-19 09:35:16 +00:00
contrib Release fwupd 2.0.20 2026-02-26 06:49:10 -06:00
data Release fwupd 2.0.20 2026-02-26 11:36:18 +00:00
debian bump version to 2.0.20-1~deb13u1+pmx1 2026-07-20 09:33:46 +02:00
docs trivial: Remove the long-dead FWUPD_SOLOKEY_EMULATE 2026-02-18 17:15:29 +00:00
generate-build Fix man page compatibility with apropos/whatis 2025-11-27 12:58:59 -06:00
libfwupd Add support for plugins to have custom BIOS settings 2026-02-23 11:27:22 -06:00
libfwupdplugin trivial: Record errors in fu_udev_device_write() for emulation 2026-02-26 11:16:43 +00:00
plugins synaptics-cxaudio: Fix a trivial typo spotted by CodeRabbit 2026-02-26 11:13:04 +00:00
po trivial: Translated using Weblate (Hebrew) 2025-12-03 00:02:03 +01:00
policy Allow clearing the remote cachedir 2025-10-13 20:21:25 +01:00
src trivial: Set the proxy GType for DDC devices 2026-02-26 11:15:45 +00:00
subprojects trivial: ignore wraplock in subprojects 2025-11-18 20:14:12 -06:00
.clang-format trivial: Fix up the clang-format header sorting 2025-11-25 23:30:43 +00:00
.clang-tidy trivial: filter system header messages from clang tidy 2025-10-23 13:44:39 -05:00
.clangd trivial: add clang configuration 2025-06-30 07:24:11 -04:00
.codecov.yml Make the coverage stats less scary 2025-01-13 11:02:15 -06:00
.editorconfig trivial: extend editorconfig for debian scripts 2025-09-25 18:38:18 +02:00
.git-blame-ignore-revs trivial: fixup .git-blame-ignore-revs to work correctly 2024-03-22 11:44:44 -05:00
.gitconfig trivial: ignore commits for tree wide changes 2021-08-24 11:18:40 -05:00
.gitignore trivial: add nix/direnv files to gitignore 2025-09-04 07:32:38 +01:00
.gitmodules contrib: Adjust flatpak build for moving to flathub 2018-11-01 06:51:23 -05:00
.markdownlint.json Convert the man pages to MarkDown format and use a built-in converter 2023-04-19 10:43:01 +01:00
.pre-commit-config.yaml trivial: ci: update pre-commit black hook to current version 2025-12-09 09:13:33 +00:00
CODE_OF_CONDUCT.md trivial: update markdownlint to v0.38.0 2024-01-23 02:11:46 -06:00
COMMITMENT Add COMMITMENT file as part of GPL Common Cure Rights Commitment 2018-06-18 16:09:54 +01:00
CONTRIBUTING.md trivial: add documentation on using virtualenv 2024-01-05 10:42:17 -06:00
COPYING Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
MAINTAINERS trivial: Add me to maintainers 2021-04-09 16:02:20 +01:00
meson.build meson: Disallow flashrom if not found 2026-02-18 17:15:29 +00:00
meson.format Run meson format -i -r on all the build files 2025-09-11 16:41:03 +01:00
meson_options.txt Allow systems to use the udev event source without using systemd 2025-12-16 15:44:53 +00:00
README.md trivial: Use the GitHub alert markdown when allowed 2025-12-03 14:21:14 -06:00
RELEASE trivial: post release version bump 2025-12-19 10:38:53 +00:00
SECURITY.md trivial: Use 'SBOM' rather than 'SBoM' 2024-11-15 09:37:52 +00:00

fwupd

Build Status Translation Status CodeQL Coverity Scan Build Status Fuzzing Status Codecov Coverage Status OpenSSF Scorecard OpenSSF Best Practices

This project aims to make updating firmware on Linux automatic, safe, and reliable.

Additional information is available at the website.

Where to get help?

Compiling

See Building and Debugging for how to build the fwupd development environment.

Tip

In most cases, end users should not compile fwupd from scratch; it's a complicated project with dozens of dependencies (and as many configuration options) and there's just too many things that can go wrong.

Users should just have fwupd installed and updated by their distro, managed and tested by the package maintainer. The distribution will have also done some testing with how fwupd interacts with other software on your system, for instance using GNOME Software.

Installing fwupd using Snap or using Flatpak might be useful to update a specific device on the command line that needs a bleeding edge fwupd version, but it should not be considered as a replacement to the distro-provided system version.

Using Tartan

Tartan is a LLVM static analysis plugin built to analyze GLib code. It can be installed and then run using:

mkdir build-tartan
CC=clang-18 meson ../
SCANBUILD=../contrib/tartan.sh ninja scan-build

LVFS

This project is configured by default to download firmware from the Linux Vendor Firmware Service (LVFS).

This service is available to all OEMs and firmware creators who would like to make their firmware available to Linux users.

You can find more information about the technical details of creating a firmware capsule in the hardware vendors section of the fwupd website.

Basic usage flow (command line)

If you have a device with firmware supported by fwupd, this is how you can check for updates and apply them using fwupd's command line tools.

# fwupdmgr get-devices

This will display all devices detected by fwupd.

# fwupdmgr refresh

This will download the latest metadata from LVFS.

# fwupdmgr get-updates

If updates are available for any devices on the system, they'll be displayed.

# fwupdmgr update

This will download and apply all updates for your system.

  • Updates that can be applied live will be done immediately.
  • Updates that run at boot-up will be staged for the next reboot.

You can find more information about the update workflow in the end users section of the fwupd website.

Passim

If the Passim project is also installed and enabled, fwupd will re-publish the downloaded metadata file to be served on 0.0.0.0:27500 by default.

Other clients on the same network can make use of this via mDNS/LLMNR to reduce network bandwidth to configured remotes.

To disable this functionality either set P2pPolicy=none in /etc/fwupd/daemon.conf, uninstall the passim package or use systemctl mask passim.service on the terminal.

Reporting status

fwupd will encourage users to report both successful and failed updates back to LVFS. This is an optional feature, but encouraged as it provides valuable feedback to LVFS administrators and OEM developers regarding firmware update process efficacy.

The privacy policy regarding this data can be viewed on the lvfs readthedocs site.

To report the status of an update, run:

# fwupdmgr report-history

Only updates that were distributed from the LVFS will be reported to the LVFS.

Enterprise use

The flow of updates can be controlled in the enterprise using the "approved updates" feature. This allows the domain administrator to filter the possible updates from a central server (e.g. the LVFS, or a mirror) to only firmware that have been tested specifically in your organization.

The list of approved updates can be enabled by adding ApprovalRequired=true to the remote configuration file, e.g. lvfs.conf. Once enabled, the list of approved updates can be set in fwupd.conf using a comma-delimited list.

For example:

ApprovedFirmware=foo,bar

Where foo,bar refers to the container checksums that would correspond to two updates in the metadata file.

Additionally, the list of approved firmware can be supplemented using fwupdmgr set-approved-firmware baz or using the D-Bus interface.

Other frontends

fwupdmgr is a command line client, but various additional graphical frontends are enumerated in the fwupdmgr man page.

SAST Tools

  • Coverity - static analyzer for Java, C/C++, C#, JavaScript, Ruby, and Python code.
  • PVS-Studio - static analyzer for C, C++, C#, and Java code.

Packaging notes

If you are working or maintaining a package of fwupd downstream, please consider the following notes.

  • The Meson build option systemd_unit_user should be used carefully, and the specified user (or resulting group) should be inaccessible to unprivileged system users. Otherwise, this may pose a risk for privilege escalation. The default value for this setting (DynamicUser=true) is secure and should be used in the general case.