Mario Limonciello
11b71f4978
Offer to compile daemon without polkit support
...
Based on a patch from Daniel Campello at
https://chromium-review.googlesource.com/c/chromiumos/third_party/fwupd/+/2354521
2020-10-14 07:58:16 -05:00
Mario Limonciello
110eb286bc
Make TPM more optional ( Fixes : #2360 )
...
- Rename the `plugin_tpm` option to `tpm` and when it's disabled
remove TPM support from all plugins
- If enabled then require the TSS to be installed
2020-09-08 15:16:58 -05:00
Benson Leung
c0fcd64b4a
Bump libgusb-devel version to 0.3.5 for debian
2020-08-28 10:48:03 -07:00
Benson Leung
40efe471c4
Disable gusb:tests
2020-08-28 10:48:03 -07:00
Mario Limonciello
58eeeff9a8
trivial: only run scan-build if compiler is clang
2020-08-28 12:12:23 -05:00
Mario Limonciello
6f4b72cea5
trivial: disable gusb self tests for ubuntu
2020-08-28 11:51:23 -05:00
Mario Limonciello
ac4444b528
trivial: debian ci: don't use packaging when subproject active
...
This prevents carrying hacks in the packaging specific to CI things
that will never actually land in Debian.
This will keep CI availability high while new packages are not yet
actually landed into Debian.
2020-08-28 10:56:20 -05:00
Mario Limonciello
5de5dd3582
Install the installed tests
...
Move binaries out of fwupd tree to https://github.com/fwupd/fwupd-test-firmware
Fixes some of https://github.com/fwupd/fwupd/issues/1956
2020-08-28 10:10:43 -05:00
Richard Hughes
8819ee54f3
trivial: Update the CI to Fedora 32 and drop various workarounds
2020-08-26 16:42:46 +01:00
Mario Limonciello
f79680bfd1
trivial: move ubuntu ci to clang 10
2020-08-10 10:33:31 -05:00
Richard Hughes
ced2fa1ca4
trivial: Fix the Fedora CI
2020-08-06 15:31:58 +01:00
Richard Hughes
ef3924c9ea
trivial: Fix Debian CI
2020-07-20 22:50:31 +01:00
Richard Hughes
9a04ce8f29
msr: Add a new plugin to detect the Intel DCI state
2020-07-16 20:13:06 +01:00
Richard Hughes
85226fd9d1
Remove potentially problematic language
...
Red Hat wants to drive an initiative in correcting problematic and potentially
divisive language in open source projects. These naming conventions and
descriptive phrases are hurtful and offensive to many of our colleagues across
the open source universe.
See https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language
2020-06-30 17:31:17 +01:00
Mario Limonciello
080789916f
trivial: fix news generation script
2020-06-10 13:03:14 -05:00
Richard Hughes
49f99d186d
trivial: Fix Debian CI targets
2020-06-09 09:09:47 +01:00
Mario Limonciello
cafea91f53
trivial: fix windows and snap CI
...
Introducing newer gusb caused these builds to run gusb as a subproject
and hence the introspection binaries were looked for.
Fixes: cd65ae ("Require libgusb 0.3.3")
2020-05-29 08:08:32 -05:00
Benson Leung
cd65aeaa41
Require libgusb 0.3.3
...
Newer version of libgusb has support for a usb endpoint wrapper.
2020-05-29 06:55:40 +01:00
Mario Limonciello
4a844c3024
trivial: drop libgpgme deps
...
These aren't needed anymore since moving to libjcat
Note: snap still keeps them because libjcat builds in snap and
needs them.
2020-05-26 08:25:08 +01:00
Mario Limonciello
89130342bc
Generate a body for github releases ( Fixes : #2034 )
2020-04-28 09:56:02 -05:00
Richard Hughes
fe11927eef
Use black to format python source in a consistent manner
...
No code changes.
2020-04-13 23:06:30 +01:00
Richard Hughes
d5e9f59804
trivial: Use the official libjcat packages in the Fedora CI
2020-04-09 09:40:38 +01:00
Mario Limonciello
22306055e3
trivial: enable libjcat from Debian & Ubuntu distro builds
2020-04-08 10:32:34 -05:00
Mario Limonciello
0c9d083d53
trivial: ci: drop unsupported lintian strings
...
'binary-is-wrong-architecture' was dropped from lintian 2.62.0
2020-04-06 09:24:11 -05:00
Richard Hughes
cf8095d5af
Use a static version number
...
Getting the version string from git means the commit version changes each time
we commit any patch, which means we need to use --force to install firmware
when building fwupd against a version that should be compatible.
It is also very inconvenient not bumping the release version for git snapshots
as firmware can no longer depend on the "planned" release triplet.
tl;dr: A good idea for Flashrom, not so awesome for me.
2020-03-29 12:17:52 +01:00
Mario Limonciello
f35be1c393
trivial: ci: exclude ia64 for flashrom
2020-03-25 09:51:12 -05:00
Mario Limonciello
36ffd92695
trivial: fix ubuntu CI
2020-03-24 10:02:28 -05:00
Mario Limonciello
b963cb3678
Add a new ChromeOS CI target to build without GPG and PKCS7
...
This is actually built on Debian, but it's intended purpose is to
be able to check whether the package made bad assumptions for ChromeOS
2020-03-23 19:55:12 +00:00
Richard Hughes
d5aab65f30
Use Jcat files in firmware archives and for metadata
...
A Jcat file can be used to store GPG, PKCS-7 and SHA-256 checksums for multiple
files. This allows us to sign a firmware or metadata multiple times (perhaps
by the OEM and also then the LVFS) which further decentralizes the trust model
of the LVFS.
The Jcat format was chosen as the Microsoft catalog format is nonfree and not
documented. We also don't want to modify an existing .cat file created from WU
as this may make it unsuitable to use on Windows.
More information can be found here: https://github.com/hughsie/libjcat
2020-03-23 19:55:12 +00:00
Richard Hughes
86b0bae0c4
trivial: Do not use -Db_sanitize=address as it breaks g-ir-scanner
...
And nobody can figure out why!
2020-03-23 19:55:12 +00:00
Mario Limonciello
60f15fe426
trivial: ci: suppress binary-is-wrong-architecture as well
2020-03-20 16:10:28 -05:00
Mario Limonciello
75a3b17972
trivial: ci: suppress lintian error that is a lintian bug
...
This will be fixed in an updated lintian and is not a problem
for the fwupd packaging.
2020-03-20 16:10:28 -05:00
Mario Limonciello
16eea10554
ci: build Debian using libflashrom
...
The package is now in unstable in the 1.2-4 package.
2020-03-05 17:07:28 -06:00
Richard Hughes
e675a33f93
trivial: A new enough flashrom is available for Fedora now
2020-03-04 08:50:24 +00:00
Mario Limonciello
bf6d455687
Move fwupdtool
and fwupdagent
into bindir
...
These are intended to be executed by users (albeit for debugging and
advanced users) and shouldn't be left as an internal implementation
per FHS 3.0.
2020-02-20 09:02:11 -06:00
Richard Hughes
aac406270c
Use the system provided flashrom on Fedora
2020-02-20 12:57:21 +00:00
Tomas Winkler
457a7c37ec
ci: use standalone script to generate build dependencies
...
Sometimes it is desirable to create a build environment
outside of docker.
Move dependencies parser to a standalone python script
and call it from generate_docker.py
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
2020-02-18 17:40:39 -06:00
Mario Limonciello
af774426c7
trivial: add libglib2.0-doc to debian/ubuntu build dependencies
2020-02-18 11:22:58 -06:00
Tomas Winkler
2a026147ce
ci: allow working with podman w/o aliases
...
Fedora doesn't distribute docker anymore, instead
it uses podman for the containers.
It is possible to alias podman to docker, but
it's less hassle if it will work just out of the box.
The fix here is simple the podman is a fallback if
docker is not found.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
2020-01-29 08:43:31 +00:00
Tomas Winkler
8a00dc898f
ci: fedora: force correct rpm package version
...
RPM doesn't allow '-' in the version number,
so this must be fixed if also when building from
an untagged git tree.
sanitize_for_ci() from get-version.py
fixes it only when build is CI environment.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
2020-01-29 08:22:41 +00:00
Richard Hughes
83425f99af
Generate a win32 setup binary
...
Fixes https://github.com/fwupd/fwupd/issues/1704
2020-01-16 12:23:08 -06:00
Mario Limonciello
b78b4fb1bf
Revert "trivial: Attempt to fix Debian CI"
...
This reverts commit 9e8037483a
.
2020-01-08 21:08:59 +00:00
Richard Hughes
603e4f6956
Shut down automatically when there is system memory pressure
...
We can just rescan hardware if required; near OOM it's just more important to
free what we can and get out of the way.
2020-01-07 12:29:07 +00:00
Richard Hughes
d7197d5319
trivial: Move the Fedora CI image to F31
2020-01-07 12:29:07 +00:00
Richard Hughes
eb9522f4d6
trivial: Don't build the Ubuntu CI with Werror
2020-01-02 12:52:51 +00:00
Richard Hughes
9e8037483a
trivial: Attempt to fix Debian CI
2020-01-02 12:52:51 +00:00
Richard Hughes
fbb677bee2
Add a new plugin that exposes the system TPM device firmware version
...
This plugin does not yet allow the device to be upgraded, and is provided for
information only.
2019-12-05 21:05:17 +00:00
Richard Hughes
45a00738d8
Allow building on Windows with MinGW
...
Add various fixes to enable us to build a selection of useful USB plugins.
Also, skip tests that don't make sense on WIN32 or that will not work.
With much help from Mario Limonciello <mario.limonciello@dell.com> -- Thanks!
2019-12-03 16:33:43 +00:00
Richard Hughes
297d1598ef
trivial: Only dlopen the test plugin once
...
This causes problems in the self tests when not lazy-loading symbols.
Also use g_build_filename() for the paths to be more portable and readable.
2019-12-01 20:59:19 +00:00
Mario Limonciello
728f0f06c6
trivial: ci: don't let bad symlinks cause debian build failures
2019-11-30 18:43:24 -06:00