Mario Limonciello
f5583481bf
trivial: debian: disable downloading from LVFS in autopkgtest
...
There are two ways to go:
1. Enable `needs-internet` in the test bed
2. Skip these tests
Per https://salsa.debian.org/ci-team/autopkgtest/blob/master/doc/README.package-tests.rst
the testing should avoid having to download from remote services to
keep the testing more deterministic and reliable.
2020-11-16 17:06:34 -06:00
Mario Limonciello
103ce59922
trivial: debian: add git to fwupdate-tests dependencies
...
this is needed for autopkgtest now
2020-11-16 10:45:01 -06:00
Mario Limonciello
2222efc297
Add breaks for fwupdate 12-7 ( Closes : #960688 )
2020-11-16 10:45:01 -06:00
tinywrkb
07d5aef247
Install modules-load configs in the correct directory
...
Signed-off-by: Richard Hughes <richard@hughsie.com>
2020-11-16 15:27:13 +00:00
Jessica Clarke
646f23edd5
debian: Add quotes around glob
2020-11-16 08:06:48 -06:00
Jessica Clarke
99c37df81c
debian: Remove unnecessary ./ use
2020-11-16 08:06:48 -06:00
Jessica Clarke
f6b1ff0409
debian: Avoid looking like a set -e is missing
...
The exit code for an if is the final command's so single-command if
statements are safe. However, this is rather subtle and could easily be
accidentally overlooked when making future changes. We could add a set
-e to be defensive, but instead let's use the idiomatic way of doing
one-line if statements in shell that always yield the right exit code.
2020-11-16 08:06:48 -06:00
Jessica Clarke
e36ecb42ed
debian: Use uniform spacing around semicolons
2020-11-16 08:06:48 -06:00
Jessica Clarke
ae4ee910b9
debian: Fix another dangerous missing set -e
2020-11-16 08:06:48 -06:00
Jessica Clarke
f69931032e
debian: Build up CONFARGS list rather than individual variables
...
This avoids having a silly line length for the dh_auto_configure
invocation.
2020-11-16 08:06:48 -06:00
Jessica Clarke
227e281cf9
debian: Fix another instance of unusual ifeq syntax
2020-11-16 08:06:48 -06:00
Jessica Clarke
474e4135e8
debian: Fix dangerous lack of set -e
...
Also split the long line whilst here.
2020-11-16 08:06:48 -06:00
Jessica Clarke
8218923985
debian: Check for valgrind in Makefile not shell and don't hard-code path
2020-11-16 08:06:48 -06:00
Jessica Clarke
65b4f61110
debian: Drop pointless dh_shlibdeps override
...
There's no other mention of DHSLIBS in the entire tree so it'll always
be empty.
2020-11-16 08:06:48 -06:00
Jessica Clarke
4b2d77bbe9
debian: Use if/else rather than overriding default values
...
This makes the code easier to follow.
Whilst here use DEB_HOST_ARCH_CPU for the ia64 and use the more
conventional syntax.
2020-11-16 08:06:48 -06:00
Jessica Clarke
43d7c50609
debian: Prefer Makefile substitution over shell substitution
...
This makes the output show what is being run and avoids ugly multi-line
shell commands. It also avoids needlessly polluting the environment.
2020-11-16 08:06:48 -06:00
Jessica Clarke
de55495d95
debian: Check DEB_HOST_ARCH_CPU not DEB_HOST_ARCH for MSR plugin
...
The plugin is CPU-dependent, not kernel, ABI or libc dependent.
This makes x32 build the plugin again.
2020-11-16 08:06:48 -06:00
Mario Limonciello
e6154b3425
trivial: debian: disable msr plugin on all !x86
...
Fixes build failure on arm64 and armhf
2020-11-14 00:00:11 -06:00
Mario Limonciello
80212a3d0b
trivial: debian: don't hardcode paths in libexec
...
Some architectures won't have `fwupd-detect-cet` and this causes
build failures for those architectures
Fixes build failures on:
ppc64, risvc64, sparc64, powerpc, m68k, ia64, hppa, alpha, s390x,
mipsel, mips64el, armel
2020-11-14 00:00:11 -06:00
Mario Limonciello
bdaa080be3
trivial: disable bios plugin outside of systems with uefi
...
Fixes : #2576
2020-11-13 08:19:30 +00:00
Mario Limonciello
bd60de12be
Add a flag to indicate if packages are supported
...
Anyone can easily add this, but it makes it clearer that by default hand
build, snap, and flatpak are not checked by anyone.
2020-11-11 14:34:59 -06:00
Richard Hughes
e29294d7f2
trivial: Add systemd-devel to fwupd BRs
2020-11-10 20:35:55 +00:00
Richard Hughes
db4894e863
hailuck: Add an plugin for the Pinebook Pro laptop
...
This is not complete enough for LVFS-usage, but good enough to use with commands
such as fwupdtool. It's likely newer kbd and tp firmware will be required to
integrate with the fwupd in all required ways.
2020-11-09 16:17:34 +00:00
Hsieh-Tseng Shen
c7e58784c7
trivial: make dbxtool executable to fix snap build
2020-11-05 13:00:33 +00:00
Richard Hughes
a053134504
Notify the service manager when idle-quitting
...
This makes sure that the main process won't get SIGTERM on shutdown.
Inspired from a patch by Jonathan Kang <jonathankang@gnome.org>
2020-11-04 14:45:59 +00:00
Thierry Vignaud
aa52c0cc64
trivial: Use proper %{_mandir} macro
...
Signed-off-by: Richard Hughes <richard@hughsie.com>
2020-11-04 08:21:32 +00:00
Richard Hughes
203ed841da
trivial: Codespell fixes
2020-11-02 14:26:26 +00:00
Richard Hughes
bde99ef4bc
trivial: Fix Debian CI failure
2020-11-02 14:22:37 +00:00
Jonas Witschel
267dbd1612
contrib/ci: switch TPM simulator from ibmswtpm to swtpm
...
Upstream tpm2-tss is moving from ibmswtpm to swtpm as the default TPM
simulator. ibmswtpm still works fine and will be kept around for the
foreseeable future, but adapt to the upstream decision in case ibmswtpm should
ever get dropped from the official Arch Linux repositories (currently there are
no plans to do so).
2020-10-28 07:50:11 -05:00
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
Tomas Winkler
f994813858
contrib: fwupd.spec : install tests only when enabled.
...
Install tests in the rpm package only when tests are enabled.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
2020-10-13 11:51:19 -05:00
Richard Hughes
e8e7a16c2e
trivial: Fix aarch64 Fedora build
2020-10-12 09:17:47 +01:00
Richard Hughes
4123885c81
bcm57xx: Add a plugin that can update the BCM5719 network adapter
2020-10-08 16:49:07 +01:00
Richard Hughes
a1bc349dba
spec: Split out a fwupd-plugin-flashrom subpackage
...
This is installed by default, but means it can be excluded from the minimal
CoreOS image. It's highly unlikely that anything running CoreOS has anything
unlocked that can be flashed using flashrom.
This drops inclusion of dmidecode, libftdi, pciutils-libs and flashrom as hard
dependencies from the package set.
2020-10-07 13:08:54 +01:00
Richard Hughes
8d850db5cd
spec: Split out a fwupd-plugin-modem-manager subpackage
...
This is installed by default, but means it can be excluded from the minimal
CoreOS image. It's highly unlikely that anything running CoreOS has mobile
broadband hardware attached.
This drops inclusion of libmbim, libqmi and ModemManager-glib as hard
dependencies from the package set.
2020-10-07 13:08:54 +01:00
boger.wang
4986e0f020
Add plugin for goodix fingerprint sensors
...
Support updating firmware for Goodix MOC fingerprint sensors.
2020-09-28 12:43:49 +01:00
Richard Hughes
13bae744be
platform-integrity: Use the BCR values provided by the kernel class
...
This requires the new kernel driver by Daniel Gutson.
2020-09-14 16:18:12 +01:00
Mario Limonciello
258177472f
trivial: debian/rules: disable flashrom for ia64
2020-09-11 13:58:11 -05:00
Mario Limonciello
eb4472a479
trivial: debian: add udisks2 to recommends
...
(Closes : #970054 )
2020-09-10 17:31:10 -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
Richard Hughes
840e84bcf2
elantp: Add a plugin to update Elan Touchpads using HID
2020-09-01 12:17:44 +01: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
Benson Leung
96bad357ad
Require libgusb 0.3.5
...
Newer version of libgusb has g_usb_device_get_configuration_index which
will be used by cros-ec plugin.
Skip bumping this dependency on Debian and Ubuntu as of this commit date,
they don't know about 0.3.5 yet.
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
Richard Hughes
019c096fcc
trivial: Fix Fedora s390x build
2020-08-28 16:58:08 +01:00
Richard Hughes
439945c71c
trivial: Do not require and obsolete dbxtool
2020-08-28 16:58:08 +01: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
c76775641b
Revert "trivial: debian: don't fail CI for subprojects"
...
This reverts commit fc9cb560eb
.
2020-08-28 10:56:20 -05:00