Commit Graph

947 Commits

Author SHA1 Message Date
Richard Hughes
77bb1ff479 Switch the Windows installer from NSIS to MSI
This means we get a few bugs fixed:

 * We appear in the Add/Remove Programs UI
 * We have an uninstaller that works on Windows 10
 * The installation is pretty, and scriptable
 * We actually install the translations
2022-05-09 15:49:40 +01:00
Richard Hughes
e76587ce95 Use ubuntu:rolling to fix longstanding CI issue 2022-05-09 11:33:38 +01:00
Richard Hughes
d8ba0bd178 Always be arch-explicit for OS deps
Before we were only being explcit for Debian and Ubuntu and that meant
the missing attribute meant different things depending on the OS.
2022-05-08 10:18:59 -05:00
Richard Hughes
ba08d6f276 Use the system-provided mingw64 cross file 2022-05-06 14:37:43 +01:00
Richard Hughes
517dc88f4f trivial: Fix the win32 CI tests 2022-05-06 13:55:51 +01:00
Mario Limonciello
5055c5e3e0 trivial: win32: disable compat cli tools 2022-05-05 15:38:43 -05:00
Mario Limonciello
532dfd54b1 trivial: install fwupd.exe into bindir for Windows
In Windows we'll be placing everything in the same directory so that
libraries can be resolved.
2022-05-05 15:38:43 -05:00
Mario Limonciello
97aa7b2eb6 trivial: build windows daemon too in CI
This won't actually work yet (and hence we won't package it), but we
can at least make sure we don't regress the support by any code
changes.
2022-05-05 11:51:22 -05:00
Richard Hughes
89238c15f5 Include libsqlite3-0.dll in the win32 installed
Fixes https://github.com/fwupd/fwupd/issues/4578
2022-05-02 12:36:28 +01:00
Mario Limonciello
f818404d81 trivial: debian: set up fwupd-refresh.service/fwupd-refresh.timer
Create a dedicated user account for these to use, and set the preset
to leave it as enabled by default.

Fixes: https://github.com/fwupd/fwupd/issues/3037
2022-04-25 14:06:04 -05:00
Richard Hughes
b7bf0a7611 Do not fallback to audio-card
Let the frontend choose the most appropriate icon if unspecified.
2022-04-25 14:49:30 +01:00
Richard Hughes
57af867fab trivial: Fix example downstream spec file 2022-04-23 11:35:33 +01:00
Richard Hughes
6f6f83ee46 trivial: Disable the safe directory feature for CI 2022-04-23 08:27:34 +01:00
Richard Hughes
95022acffb trivial: Fix Fedora CI 2022-04-22 11:58:05 +01:00
Richard Hughes
2d5186622c Add FuProgress to ->prepare and ->cleanup
Some plugins were creating local versions (which were not attached to
the daemon progress in any way) as a workaround as they needed to do
actions that took a long time to complete.
2022-04-15 16:50:06 +01:00
Mario Limonciello
1a66818970 Add new plugin for AMD PSP
This plugin reads in values exported by the PSP on supported AMD
SOCs to calculate the system state based on this information
2022-04-12 12:23:16 -05:00
Mario Limonciello
f3fe9ac40c trivial: don't make TSS directory in debian CI
The TSS issue has been fixed for a while, and this change
means that the script otherwise needs to run as root.
2022-04-11 20:05:14 +01:00
Crag Wang
148e2b8388 trivial: turn off firmware signing check temporarily if installing from exe 2022-04-11 12:15:02 +08:00
Andrii Dushko
47381ba54a Add a plugin for Corsair devices
Supported devices:
 * SABRE RGB PRO WIRELESS
 * SLIPSTREAM WIRELESS USB Receiver
2022-04-08 12:52:08 +01:00
Mario Limonciello
292f8eb96f trivial: only enable IVRS and DMAR plugins on x86/x86_64
These tables are only for Intel and AMD which don't provide non x86/x86_64
products.
2022-04-04 14:08:38 -05:00
Richard Hughes
91e9f359c3 Add a plugin for the CH341A device 2022-04-03 16:29:30 +01:00
Mario Limonciello
0df2b57ae9 Add a new plugin for the ACPI IVRS table
This ACPI table contains a flag that is used for indicating pre-boot
DMA protection on AMD systems.
2022-04-03 09:05:49 -05:00
Richard Hughes
67c91a4cfd Detect SELinux before offering to install into /usr/local
Fixes https://github.com/fwupd/fwupd/issues/4080
2022-03-25 21:14:09 +00:00
Richard Hughes
8a349e17af Include macos-10.15 and macos-11 in CI builds 2022-03-22 14:57:08 +00:00
Richard Hughes
4074150d21 trivial: Convert the FreeBSD cbor requirement to a LIB depends 2022-03-17 13:19:43 +00:00
Richard Hughes
92515d193a Add coSWID and uSWID parsers to libfwupdplugin
These parse the structures as defined in:

 * https://datatracker.ietf.org/doc/draft-ietf-sacm-coswid/
 * https://github.com/hughsie/python-uswid
2022-03-15 14:37:02 +00:00
Mario Limonciello
661990ed98 Convert build system to use meson tristate features
tristate features will automatically disable if dependencies marked
as required are missing.

Packagers can manually override using `auto_features`.

Link: https://mesonbuild.com/Build-options.html#features
2022-02-28 08:34:48 -06:00
Mario Limonciello
513e75b628 trivial: Add libqrtr-glib-dev to build dependencies
It's needed in debian unstable now for Modem Manager plugin
2022-02-28 06:53:19 -06:00
Richard Hughes
a3efbe51f6 scsi: Add a simple plugin to enumerate SCSI hardware
We might want this to tag insecure or broken SAS drives, cough.
2022-02-24 17:21:51 +00:00
Richard Hughes
da90fca348 trivial: Turn off GPIO support by default
We can swap the default to auto-detection once the auto-features branch
has landed.
2022-02-21 20:37:30 +00:00
Ricardo Cañuelo
9466e778f5 Add a new plugin to handle HP M2xfd monitors
Added support for genesys logic devices.
2022-02-21 08:30:43 +00:00
Mario Limonciello
cc19be590a trivial: allow fwupd.service to be run in containers for autopkgtest
Generally we don't want this - but for the autopkgtest case it's OK.
Fixes: #4299
2022-02-19 06:56:24 -06:00
Mario Limonciello
53a49b4ac1 Restore AMD SME check
Starting with linux kernel 5.18 the SME flag will be removed from
/proc/cpuinfo when it's not activated.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=08f253ec3767bcfafc5d32617a92cee57c63968e
2022-02-17 10:08:33 -06:00
Richard Hughes
c71ca76235 Add a plugin to set GPIOs for the duration of an update 2022-02-16 14:01:07 +00:00
Yuan-Chen Cheng
4642e7694e fall back to signed EFI app as secure boot is off.
Some distribution hopes to not install the not-signed EFI app by default.
However, for the corner case, the user might still want to use not-signed
one (maybe to work around bugs or do testing). This implements
a logic that uses the not-signed EFI app as the secure boot is off, and
if it does not exist, then we fall back to using the signed one.

Also drop fwupd-unsigned from Recommends of fwupd in debian/control.
2022-02-15 08:15:56 -06:00
Richard Hughes
02f003a195 trivial: Build pcre when building static CI tools 2022-02-09 11:58:50 +00:00
Richard Hughes
740bddf7dd trivial: Do not use use sudo to use firmware-build
It's not needed anymore.
2022-02-09 11:58:50 +00:00
Richard Hughes
dc7dc77095 Fix install_dell_bios_exe.py by removing extraneous code
See https://github.com/fwupd/fwupd/issues/3644 for details.

Fixes https://github.com/fwupd/firmware-dell/issues/105
2022-01-31 13:05:53 +00:00
Richard Hughes
20a357a551 trivial: Fix the OpenBMC example 2022-01-31 10:54:04 +00:00
henry-nicolas
a89e4ae2fc debian/rules: enable modem-manager plugin support 2022-01-31 10:18:46 +00:00
Eli Schwartz
7126fb4597 trivial: Drop the use of setuptools for regenerating ld version file
setuptools is the only import that is not part of the python stdlib.
2022-01-31 09:32:58 +00:00
Richard Hughes
c716cac45c trivial: Move the CI to Fedora 35 2022-01-30 20:02:32 +00:00
Mario Limonciello
e742e4fc10 trivial: ci: fix ubuntu ci 2022-01-27 15:02:19 -06:00
Norbert Kamiński
a580de81ba freebsd/Makefile: Disable gudev based plugins
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2022-01-21 16:24:37 +00:00
Crag Wang
fbcc031ae4 trivial: refresh bash completion to reflect recent changes 2022-01-17 13:41:20 -06:00
Mario Limonciello
c1b2377782 trivial: disable logitech bulk controller on ubuntu by default
It needs to go through a MIR
2022-01-06 10:52:10 -06:00
Mario Limonciello
ab7a5fc569 trvial:debian: Add Rules-Requires-Root clause 2022-01-04 14:38:16 -06:00
Mario Limonciello
12fed692e3 trivial: debian: drop unused debian/source/include-binaries 2022-01-04 14:38:16 -06:00
Mario Limonciello
07623cafa3 trivial: debian: use wildcards in lintian override for library-not-linked-against-libc 2022-01-04 14:38:16 -06:00
Mario Limonciello
7c3c796d3a trivial: debian: drop lintian overrides for EFI binary, gone from the split 2022-01-04 14:38:16 -06:00