Mario Limonciello
e8bb4e0e34
trivial: debian: bump to debhelper 11
2019-02-07 07:33:33 -06:00
Mario Limonciello
e7ee719843
contrib/debian: Switch to debian unstable
...
Once libxmlb promotes to testing, this commit can be reverted.
2019-02-07 07:33:33 -06:00
Mario Limonciello
b3e5091349
trivial: contrib/ubuntu: set architectures for libsmbios
2019-02-07 07:33:33 -06:00
Mario Limonciello
a1e5fa6594
trivial: contrib/debian: use libxmlb from Debian archives
2019-02-07 07:33:33 -06:00
Richard Hughes
6b78d64987
Add fwupd_guid_from_string() to drop dep on uuid
...
This also allows us to write mixed-endian structures and adds tests. As part of
this commit we've also changed the API of something that's not yet been in any
tarball release, so no pitchforks please.
2019-02-06 14:48:04 +00:00
Richard Hughes
b8c30b8732
Do not use efivar just to print a mixed endian GUID
2019-02-04 15:19:57 +00:00
Mario Limonciello
dc73a47563
trivial: read and use all build flags used by Debian and Ubuntu builds
...
Filter out -Wl,-Bsymbolic-functions and run the test suite to make
sure any future build flags introduced will cause errors.
2019-02-04 08:56:43 -06:00
Mario Limonciello
b503aa8650
ata: Add support for detecting Dell GUIDs
...
Similar to NVME, ATA drives distributed by Dell have special values
that should be used to designate fwupd GUIDs and only run correct
firmware.
When detecting Dell GUIDs remove the standard fwupd GUIDs. "Generic"
firmware targeted to those GUIDs will fail to install.
2019-02-04 10:39:20 +00:00
Richard Hughes
a08891b6cb
trivial: Do not use the testing remote for the Fedora CI
2019-01-29 22:28:09 +00:00
Richard Hughes
09cbacd771
trivial: Move Fedora CI to f29
...
We'll need this for some updated deps soon.
2019-01-28 15:42:30 +00:00
Richard Hughes
634da03730
Create a silo index to speed up GUID queries
...
This speeds up matching for GUIDs by about 90%, taking the query from 3.17ms to
about 0.33ms on my Thinkpad. This is more important for slow ARM hardware,
where strcmp() is more expensive than on x64.
2018-11-21 18:51:07 +00:00
Mario Limonciello
4039001d25
trivial: ci: fix flatpak build
...
The submodules need to checkout the latest remote commit, not the latest
one that was recorded by git metadata.
2018-11-09 15:12:06 +00:00
Richard Hughes
9636f28095
trivial: Drop the libxmlb insertion into the flathub manifest
...
The 1.2.0 release is being built in Flathub now.
2018-11-09 15:12:06 +00:00
Mario Limonciello
d22f215a70
contrib: Adjust flatpak build for moving to flathub
...
Pull the based json file from
https://github.com/flathub/org.freedesktop.fwupd
And modify it as necessary (for changes in master)
2018-11-01 06:51:23 -05:00
Richard Hughes
e4ad25044a
Sort the firmware sack by component priority
...
This allows composite firmware to be ordered in an explicit way.
2018-10-23 09:20:02 +01:00
Richard Hughes
481aa2a923
Port from libappstream-glib to libxmlb
...
The libxmlb library is much faster to query, and does not require the daemon
to parse the XML metadata at startup. It's a zero-copy mmap design that is more
modern and less clunky.
RSS has reduced from 3Mb (peak 3.61Mb) to 1Mb (peak 1.07Mb) and the startup
time has gone from 280ms to 250ms.
2018-10-17 14:41:13 +01:00
Richard Hughes
3c186ce3cf
trivial: Include libuuid specifically on Centos
...
This is seemingly not in the default buildroot.
2018-10-04 18:38:12 +01:00
Richard Hughes
19c56436b1
trivial: Be more explicit when building on Centos
...
Newer versions of appstream-glib do not depend on libgcab and so it has to be
installed manually to ensure the CI still passes.
2018-10-04 18:38:12 +01:00
Richard Hughes
70df6d1144
trivial: Be more explicit when building the Arch package
2018-10-04 18:38:12 +01:00
Mario Limonciello
7cc7b04d67
ci: Run clang static analysis for Ubuntu build rather than just clang compiler
2018-09-21 07:35:08 +01:00
Mario Limonciello
05cc3f5956
trivial: snap: disable use of plugs for classic snap
...
This should be reverted if switching back to devmode or confined
snap.
2018-09-09 21:52:28 -05:00
Mario Limonciello
e9a3a0b925
snap: Enable builds for the daemon
...
This requires a newer version of gettext than is in Ubuntu 16.04
in order to support GETTEXTDATADIRS
2018-09-08 08:34:36 -05:00
Richard Hughes
194c76536e
trivial: Use a non-obsolete font when building the UEFI splash images
2018-09-06 14:21:24 -05:00
Richard Hughes
cdb01590e0
nvme: Add a new plugin to update NVMe hardware
2018-08-26 19:42:28 +01:00
Mario Limonciello
00b8f150dd
trivial: debian: disable test suite if fwupd is currently installed
2018-08-23 10:58:50 -05:00
Mario Limonciello
2a099494aa
ci: enable synaptics plugin to run in more architectures
...
Although it's only used on Dell devices, those devices could potentially
be plugged in via a bus on a different architecture too.
2018-08-06 06:22:21 +01:00
Mario Limonciello
2f7669f278
contrib/debian: generate debian/copyright dynamically
2018-08-05 08:22:23 -05:00
Mario Limonciello
7154f63397
trivial: Adjust syntax of varying copyright holders to unify across project
2018-08-05 08:22:23 -05:00
Mario Limonciello
7beace3d9c
trivial: ci: Only add gnu-efi to build-deps for supported architectures
...
For Debian/Ubuntu this was causing FTBFS (dep-wait) on any architectures
that didn't have gnu-efi.
2018-07-30 16:41:59 -05:00
Mario Limonciello
76397da55f
trivial: ci: install bubblewrap in Fedora, Ubuntu, & Debian
2018-07-13 10:51:12 -05:00
Mario Limonciello
5eef1e83f7
trivial: fedora: fix missing libgcab1-devel
2018-07-12 14:24:48 -05:00
Mario Limonciello
bc5b496c61
trivial: debian: add gnu-efi to debian build deps
2018-07-12 14:24:48 -05:00
Richard Hughes
ba103483fa
redfish: Add a plugin that uses the Redfish API
...
Redfish is an open industry standard specification and schema that helps enable
simple and secure management of modern scalable platform hardware.
This has only ever been tested using an emulator and not on real hardware.
2018-06-29 20:17:45 +01:00
Richard Hughes
76447b2df4
trivial: Sign the Fedora fwup.efi loader
2018-06-29 08:58:12 +01:00
Mario Limonciello
b5845a8e93
Catch missing translation files in POTFILES.in
2018-06-29 06:43:06 +01:00
Richard Hughes
bf71ba6fb1
trivial: Use the address sanitizer when building the Fedora CI
2018-06-28 20:55:37 +01:00
Mario Limonciello
f771bde71f
uefi: Merge plugin_uefi and plugin_uefi_labels configure options
2018-06-28 15:51:11 +01:00
Richard Hughes
ebbb13c2b4
Remove the libfwup dependency from fwupd
...
In Fedora the only user of libfwupdate is fwupd and the fwupdate command line
tool. It makes sense to absorb the libfwupdate library interface into the
uefi plugin in fwupd. Benefits I can see include:
* fwupd and fwupdate are very similar names; a lot of OEMs are confused
* fwupd already depends on efivar for other things
* We are maintaining an artificial library interface
* The CI and translation hooks are already in place for fwupd
* We don't need to check for features or versions in fwupd, we can just develop
the feature (e.g. BGRT) all in one place.
2018-06-28 15:51:11 +01:00
Richard Hughes
b1e0ab98d1
uefi: Import the fwupd.efi sources from the fwupdate project
2018-06-28 15:51:11 +01:00
Richard Hughes
44367e707d
trivial: Bump the required version of libsmbios_c
...
Also, disable the dell plugin for the CentOS build.
2018-06-28 15:51:11 +01:00
Richard Hughes
e1d65f3f5d
trivial: Enable epel-testing for the Centos build
2018-06-27 16:48:35 +01:00
Richard Hughes
cd330b09d3
trivial: include libsmbios for the Arch CI build
2018-06-27 12:52:32 +01:00
Richard Hughes
aa05cdf92c
trivial: Fix the flatpak build
2018-06-27 10:40:05 +01:00
Mario Limonciello
303cfe0294
Move Fedora CI to fedora 28
...
This is to easily get the updated efivar 33 dependency
2018-06-22 09:59:06 +01:00
Mario Limonciello
b1503e96da
trivial: debian: Add bash-completion to debian/control
2018-06-07 09:35:44 -05:00
Richard Hughes
0b522aef96
colorhug: Do not require libcolorhug to build
...
Requiring colord to be built before fwupd makes it hard to build packages.
The HID-based flashing protocol is stable and documented, so there's no need
to use an external library for this now.
2018-06-02 21:43:20 +01:00
Richard Hughes
5171a64a33
flatpak: Use the local directory when building fwupd
2018-06-02 21:05:14 +01:00
Richard Hughes
121aa439b9
trivial: Use the correct branch when building a flatpak bundle
2018-06-01 15:56:12 +01:00
Mario Limonciello
0238a9b2f2
Add support for creating snaps
...
They can be built one of three ways:
* Through Travis CI (Add to the OS matrix)
* Through build.snapcraft.io
* Locally (snapcraft cleanbuild)
2018-05-31 14:12:06 -05:00
Richard Hughes
89239b35b6
Add support for building a flatpak bundle
2018-05-31 13:54:45 +01:00