Go to file
2017-06-05 17:41:57 +01:00
.tx trivial: Add some files ready for a first release 2015-03-16 12:51:04 +00:00
contrib Allow downloading metadata from more than just the LVFS 2017-06-02 13:19:05 +01:00
data Allow downloading metadata from more than just the LVFS 2017-06-02 13:19:05 +01:00
docs Make documentation and man pages optional 2017-05-31 20:00:59 +01:00
libdfu Allow to specify bindir 2017-05-29 16:54:30 +01:00
libfwupd Remove deprecated API added since the last tarball release 2017-06-05 17:41:57 +01:00
plugins ebitdo: Ensure the version is set on the device in non-bootloader mode 2017-06-05 09:03:44 +01:00
po trivial: Update LINGUAS 2017-05-22 20:13:05 +01:00
policy Remove the automake build system 2017-04-13 18:42:08 +01:00
src Deprecate the old FwupdResult API 2017-06-05 17:41:11 +01:00
AUTHORS Add initial build files and enough code to launch a simple D-Bus daemon 2015-02-26 18:16:40 +00:00
COPYING Add initial project files 2015-02-26 13:07:00 +00:00
MAINTAINERS Add initial build files and enough code to launch a simple D-Bus daemon 2015-02-26 18:16:40 +00:00
meson_options.txt Add support for ConsoleKit2 2017-06-01 09:00:16 +01:00
meson_post_install.sh Create /var/lib/fwupd by meson post install 2017-04-21 08:07:58 -05:00
meson.build Allow downloading metadata from more than just the LVFS 2017-06-02 13:19:05 +01:00
NEWS Release fwupd 0.9.2 2017-05-22 19:37:19 +01:00
README.md trivial: minor typo corrections 2017-05-26 08:45:12 -05:00
RELEASE trivial: post release version bump 2017-05-22 19:39:19 +01:00

fwupd

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

Additional information is available at the website: http://www.fwupd.org

Compiling

fwupd uses the Meson build system for compilation. All building is done in a temporary directory, and autotools is not required.

Create the build directory

# mkdir -p build; pushd build

Generate the build script

This is done relative to the location of meson.build. Any missing dependencies will be mentioned while running meson.

By default meson places /etc and /var under the prefix, which works incorrectly with fwupd. Unless you have a version of meson with the fix for https://github.com/mesonbuild/meson/issues/1637 you will need to You will need to build setting sysconfdir and localstatedir manually.

# meson --sysconfdir=/etc --localstatedir=/var ..

The default compilation options are documented in meson_options.txt in the root of the build tree. If you would like to override any option. you can do so when generating the build rules. For example to disable the DELL plugin you would run meson like this:

# meson --sysconfdir=/etc --localstatedir=/var -Denable-dell=false ..

Compile using ninja

Compilation is executed by one command:

# ninja

Common problems

While compiling policykit policy: /home/user/jhbuild/install/bin/msgfmt: cannot locate ITS rules for org.freedesktop.fwupd.policy.in

Install using ninja

# sudo ninja install

Adding a new plugin

An extensible architecture allows for providing new plugin types (for reading and writing different firmware) as well as ways quirk their behavior.

If you have a firmware specification and would like to see support in this project, please file an issue and share the spec. Patches are also welcome.

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.

Basic usage flow (command line)

If you have a device with firmware supported by fwupd, this is how you will 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 (Online updates) will be done immediately.
  • Updates that require a reboot (Offline updates) will be staged for the next reboot.

Other frontends

Currently GNOME Software is the only graphical frontend available. When compiled with firmware support, it will check for updates periodically and automatically download firmware in the background.

After the firmware has been downloaded a popup will be displayed in Gnome Software to perform the update.

On Dell IoT gateways, Wyse Cloud Client Manager (CCM) has been built with fwupd support. The remote administration interface can be used to download and deploy firmware updates.