Mario Limonciello
4abbf13bef
CI: split up different jobs into reusable workflows
...
We don't need to run the same jobs all the time, some of them make
more sense in PR context and not when commited to the branch.
2022-10-12 08:03:09 -05:00
Mario Limonciello
32994d236c
trivial: use github actions to build snaps
2022-10-12 08:03:09 -05:00
Richard Hughes
2dea742004
Match the MEI UUID in quirk files
...
This allows us to be more specific when matching devices, and also means we get
more attributes 'for free' from the FuUdevDevice->probe().
This would allow us to have multiple device GTypes handling multiple MEI
interfaces in the same plugin., for instance, PTHI and MKHI.
The slight fly in the ointment is that the kernel does not set the 'dev' for
the mei_me devices, but it's always going to be just /dev/mei0, so hardcode it.
2022-10-12 13:17:42 +01:00
Richard Hughes
48557a428e
Add fwupd_device_has_checksum() for future usage
2022-10-12 13:02:44 +01:00
Mario Limonciello
a12a5053b6
trivial: snap: add some missing deps for classic snap
...
Fixes : #5138
2022-10-11 11:39:54 -05:00
Richard Hughes
366e3a5668
trivial: Define the HECI GUIDs in a central place
2022-10-11 16:17:20 +01:00
Richard Hughes
14e7e1b587
Use EFI-style GUIDs when connecting the MEI interface
...
This means the GUID matches what the kernel exports in sysfs.
2022-10-11 16:17:20 +01:00
Aaron Skomra
413e33748d
wacom_usb: Update quirks with new PID for v2 of 2nd-gen Intuos Pro Small
...
Wacom has added a new PID for a change in the second gen IPS
2022-10-10 16:56:34 -05:00
Mario Limonciello
bbf62261d3
trivial: snap: move to craftctl
...
the guidance for core22 says to migrate to this
2022-10-10 11:29:30 -05:00
Mario Limonciello
99d449fb10
trivial: snap: fetch the EFI package from the Ubuntu archive
...
This will let us track the same version in core22's release.
2022-10-10 11:29:30 -05:00
Mario Limonciello
6613710d4d
trivial: snap: re-enable the modem manager plugin
...
It was accidentaly disabled when moving to core22.
2022-10-10 11:29:30 -05:00
Mario Limonciello
598e31ded5
trivial: snap: move fix-bash-completion step into build step
2022-10-10 11:29:30 -05:00
Mario Limonciello
9475a849e6
trivial: snap: add a workaround to the build process to ignore rpath
...
snapcraft overrides the rpath for the snap to make it most compatible.
Our rpath decisions make this not work properly though. Since everything
is in /snap/fwupd anyway, just move the libraries to this place.
Fixes : #5138
Link: https://snapcraft.io/blog/the-new-classic-confinement-in-snaps-even-the-classics-need-a-change
2022-10-10 11:29:30 -05:00
Dylan Van Assche
8243034311
plugins: modem-manager: assume firmware is unsigned
...
fwupd does not know if the firmware is signed or unsigned unless
the Quectel secureboot commands set this flag. Assume that the firmware
is unsigned by default, which is the case for most firmware unless they
have they support the secureboot AT commands. If that's the case, the
right flag will be set anyway.
2022-10-10 12:44:10 +01:00
Peter
9fe9d7d7c7
Fix millisecond formatting
...
Fixes #5140
2022-10-09 20:33:19 +01:00
Richard Hughes
a92a33f522
Add the correct instance ID for HUB devices
2022-10-08 08:47:08 +01:00
Mario Limonciello
40c8132dbb
trivial: ci: don't add gi-docgen to debian/control
...
It causes FTBFS due to Build-Profiles nodoc
2022-10-07 23:07:40 -05:00
Richard Hughes
c621c72367
vli: Set auto-parent-children flag for all USB hubs
2022-10-07 16:25:27 -07:00
Richard Hughes
2a2dddfdf0
vli: Remove the incorrect ParentGuid to prevent confusion
...
The daemon wants to auto-add the parent relationship from the analogix device
to the VLI device automatically, which is arguably more correct anyway.
No behaviour change, but the tree output in fwupdmgr will be reversed now.
2022-10-07 16:25:27 -07:00
Mario Limonciello
15c9cac1b0
add an rpath to things not compiled into a library
...
A harmless error shows up in debian packages at build time:
```
dpkg-shlibdeps: warning: cannot find library libfwupdplugin.so needed by debian/fwupd/usr/lib/x86_64-linux-gnu/fwupd-1.8.6/libfu_plugin_flashrom.so (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '')
```
This doesn't cause a functional problem because libfwupdplugin has already
been loaded by the daemon by the time these libraries are loaded.
In case the `dpkg-shlibdeps` checker becomes more stringent in the future
fix the warning.
2022-10-07 14:16:37 -05:00
Richard Hughes
367b684e0b
trivial: post release version bump
2022-10-07 18:00:02 +01:00
Richard Hughes
2627e8ab6a
Release fwupd 1.8.6
2022-10-07 16:38:04 +01:00
Richard Hughes
112e26e33d
Make the CoSWID parser more full-featured
2022-10-07 16:25:31 +01:00
Richard Hughes
0110a3ebdf
Fix a regression when getting the i2c bus number
...
When I replaced the regex with a fu_strtoull() in bb548f15
I missed that the
regex looked at the 2nd-to-last sysfs path element, e.g. the i2c bus number for
/sys/devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-1/i2c-1AF80175:00 is
actually '1'.
This fixes enumerating the parade-lspcon on a Puff ChromeBox.
2022-10-07 16:24:55 +01:00
Richard Hughes
b244057d4f
parade-lspcon: Add the AuxDeviceName for another ChromeBox
2022-10-07 16:24:55 +01:00
Richard Hughes
4e7f04b830
parade-lspcon: Fix a small memory leak when reloading the device
2022-10-07 16:24:55 +01:00
Richard Hughes
41973568a6
uefi-capsule: Try harder when trying to find the default ESP
...
Look for a plausible path existing, still continuing to the first entry on
failure as before. This makes it "work" for more people out-of-the-box.
2022-10-07 15:11:38 +01:00
Richard Hughes
fb764b5187
trivial: Support writing compressed uSWID payloads
2022-10-07 14:52:31 +01:00
Richard Hughes
2fef67db3b
trivial: Fix writing uSWIDv2 payloads
...
The optional flags come last in the header.
2022-10-07 14:52:31 +01:00
Richard Hughes
a01379f835
trivial: Use fu_strtobool() to parse the uSWID compressed attr
2022-10-07 14:52:31 +01:00
Richard Hughes
617137922d
Add some more profiling to debug custom device GType creation
...
It turns out using tss2_esys is slow (200ms) -- and now we know.
2022-10-07 14:41:48 +01:00
Richard Hughes
017cdb78d3
trivial: Fix the self tests when building with -Dgusb=disabled
2022-10-07 08:04:06 -05:00
Richard Hughes
c87cbf835a
modem-manager: Fix building with -Dgusb=disabled
2022-10-07 08:04:06 -05:00
Richard Hughes
3043c1d68f
ccgx: Fix building with -Dgusb=disabled
2022-10-07 08:04:06 -05:00
Haowei Lo
96e832bd02
FPC: Increase max firmware size to 400KB
2022-10-06 13:32:00 +01:00
Kai Michaelis
6054d09f35
redfish: Implement updates for Supermicro machines
2022-10-06 12:49:49 +01:00
Richard Hughes
f579c03223
trivial: Only show the DS20 debug output when debugging
2022-10-06 12:44:36 +01:00
Richard Hughes
ac27638878
Only request the BOS descriptor for newer libgusb versions
...
This fixes a deadlock only recently debugged and fixed in GUsb.
2022-10-06 12:44:36 +01:00
Richard Hughes
71af241835
Tweak the do-not-power-off message
...
We don't ever want to infer that the user is required to turn off the computer.
2022-10-06 10:30:31 +01:00
Richard Hughes
423637ef80
Use LVFS::UpdateRequestId to create a translated FwupdRequest
2022-10-06 10:30:31 +01:00
Max Gautier
1446857830
Use details balise for devices in issue templates
2022-10-05 08:31:00 -05:00
Richard Hughes
3f6f35d8c6
trivial: Fix two more plugin names
2022-10-05 12:46:04 +01:00
Richard Hughes
1b6438e8ff
trivial: Only set the fallback builtin plugin name when required
...
We only want to use the gtype-generated name if the plugin has not already used
fu_plugin_set_name() to set a custom name.
2022-10-04 08:32:18 +01:00
Richard Hughes
1c3c5d9892
Allow optionally translating request messages
...
Also add two more request IDs to make these specific enough to be useful.
2022-10-03 20:54:24 +01:00
Richard Hughes
bd5f13f938
Add FwupdRequestFlags for future usage
2022-10-03 18:04:15 +01:00
Richard Hughes
1f8d3b61bb
linux-tainted: Fix a daemon warning if the daemon has disabled the plugin
2022-10-03 09:34:20 +01:00
Richard Hughes
b21d29d98d
Ignore mei devices without a device file
...
Else we get a whole ton of log messages on --verbose.
2022-10-01 13:10:21 +01:00
Richard Hughes
a69341b228
trivial: Add a new env var to show MEI reads and writes
2022-10-01 13:10:21 +01:00
Richard Hughes
1f261ba283
Rename the source file and private data of modular plugins
...
This would allow us to convert more easily to a built-in plugin in the future
and means we match the source style used in 97% of the other plugins.
No logic changes.
2022-09-30 15:20:23 +01:00
Richard Hughes
fc3cfbad92
Do not check the build hash of modular plugins
...
We removed the abilty to easily build modular plugins, and so we don't need to
worry so much about random 3rd party modules being loaded.
2022-09-30 14:19:56 +01:00