Commit Graph

9606 Commits

Author SHA1 Message Date
Mario Limonciello
2786821503 backport a patch to fix autopkgtests on ppc64el 2020-11-16 09:17:17 -06:00
Jessica Clarke
80191c0a27 debian: Add quotes around glob 2020-11-16 09:10:40 -06:00
Jessica Clarke
99c06a92fc debian: Remove unnecessary ./ use 2020-11-16 09:10:40 -06:00
Jessica Clarke
cec06f218a 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 09:10:40 -06:00
Jessica Clarke
425181a9eb debian: Use uniform spacing around semicolons 2020-11-16 09:10:40 -06:00
Jessica Clarke
7251762fa3 debian: Fix another dangerous missing set -e 2020-11-16 09:10:40 -06:00
Jessica Clarke
a5c1cfdaf5 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 09:10:40 -06:00
Jessica Clarke
acb6551fab debian: Fix another instance of unusual ifeq syntax 2020-11-16 09:10:40 -06:00
Jessica Clarke
6800a82efd debian: Fix dangerous lack of set -e
Also split the long line whilst here.
2020-11-16 09:10:40 -06:00
Jessica Clarke
cb165de96d debian: Check for valgrind in Makefile not shell and don't hard-code path 2020-11-16 09:10:40 -06:00
Jessica Clarke
fc7ade7b5c 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 09:10:40 -06:00
Jessica Clarke
30784e226c 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 09:10:40 -06:00
Jessica Clarke
01b3e255bf 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 09:10:40 -06:00
Jessica Clarke
bf7ec9c49e 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 09:10:40 -06:00
Mario Limonciello
a2ae2d1ae7 trivial: debian: disable msr plugin on all !x86
Fixes build failure on arm64 and armhf
2020-11-16 09:10:40 -06:00
Mario Limonciello
23ade073c1 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-16 09:10:40 -06:00
Mario Limonciello
a6334f0786 Backport a patch to indicate if packages are supported or not 2020-11-16 09:09:51 -06:00
Mario Limonciello
29c7df1ab1 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-16 09:09:21 -06: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
Emily Miller
937f7401c0 trivial: Add vli tr_gen2 and hyper regression test 2020-11-16 09:28:46 +00:00
Emily Miller
1c4a4dd29c trivial: tr_gen2 has same rtd21xx as mini dock 2020-11-16 08:50:25 +00:00
Richard Hughes
05efd7b960 trivial: Don't assume a specific page size in the unit tests
This was found in the self tests on PPC64.

Fixes https://github.com/fwupd/fwupd/issues/2581
2020-11-15 09:17:08 +00:00
Richard Hughes
b5eddee5f6 bcm57xx: Use PCI function 1 as 0 does not work with the Dell KH08P 2020-11-14 07:56:32 +00: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
Richard Hughes
122104e190 vli: Do not be clever replugging the MSP430 device
We don't have to do this since we started counting the composite devices out
and back in, and relying on the parent being set at a specific instance seems
fragile in real-world testing.
2020-11-13 14:22:51 -06:00
Richard Hughes
bcf7a446f6 vli: Make some trivial debugging more specific to help debug an issue 2020-11-13 14:22:51 -06:00
Richard Hughes
d483fcedd5 trivial: Fix a logic thinko to unbreak switch-branch
We still want to return TRUE, rather than falling through as if the requirement
type was unknown.

Fixes https://github.com/fwupd/fwupd/issues/2578
2020-11-13 16:21:57 +00:00
Mario Limonciello
5d1d287e1e releasing package fwupd version 1.5.1-1 2020-11-13 10:17:37 -06:00
Mario Limonciello
9711969c84 refresh symbols 2020-11-13 10:12:10 -06:00
Mario Limonciello
aab7e8fcaf remove binary left by accident 2020-11-13 09:54:00 -06:00
Mario Limonciello
0fa5774575 Drop backported patches 2020-11-13 09:44:16 -06:00
Mario Limonciello
79d8b60fe7 Release fwupd 1.5.1
-----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCAAyFiEEFj61ARkiXbPfj0nqF6y6jfqXDhcFAl+gHTsUHHJpY2hhcmRA
 aHVnaHNpZS5jb20ACgkQF6y6jfqXDhfxbQgAsN8WqqKcO1jb6E/ILQinfIIB9DYT
 t9p+7f9XrDtB8XAlUyvRF2UOQblLIYkzDRnUwozz3qxWPhpredeOPN/aJTHfk+qJ
 f/IsBhkPQX/ai1T62iEp0DLBlnrdWAk8RU1ZWxcQtUgnt+WoZQYIg7cDdzgbjLa2
 0KW8nl6q8oXAssyxnBa/oBdGUE9r6WehfYPAPvanoFtXCtMLJYGha51DbxvbWe9M
 5dNv4skG2vS+BoZaxPGgRqjFaOYLfApPR3lTxlfTyGF7ukQi0q7q8lyLfVrXqq1Z
 elqwiSeDdR//bW8bsj3d83o93nq7AtPtWuw9LX2HseDY9TFbnOSqxOZrHg==
 =AVqs
 -----END PGP SIGNATURE-----

New upstream version (1.5.1)
2020-11-13 09:42:26 -06:00
Mario Limonciello
fca9a74de0 make gcab optional 2020-11-13 06:17:47 -06:00
Mario Limonciello
90e80e6752 trivial: allow building as a subproject 2020-11-13 06:17:47 -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
56d816a53b Fall back to FAT32 internal partitions for detecting ESP
Fixes #2576
2020-11-12 13:42:21 -06: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