dependabot[bot]
689fc23957
build(deps): bump docker/build-push-action from 3 to 4
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 13:04:11 -06:00
Richard Hughes
b41f145f00
trivial: Do not hardcode fwupdmgr as a binary name
2023-02-23 13:04:11 -06:00
Richard Hughes
ed81983520
trivial: Record the install phase for future functionality
2023-02-23 13:04:11 -06:00
Richard Hughes
4f3aad86e9
trivial: Do not inherit history from emulated devices
2023-02-23 13:04:11 -06:00
Richard Hughes
5f8d465e9b
trivial: Remove some dead comments left in after debugging
2023-02-23 13:04:11 -06:00
Richard Hughes
a21e653161
Use indexes when building the quirk prepared queries
...
This can save 250us on each query (of which we do a *lot*), and reduces the
number of queries by about half if the user is using a libxmlb version that can
convert from `_BOUND_TEXT` to `_BOUND_INDEX_TEXT`.
The more devices detected, the bigger the difference, and without this patch
fixing libxmlb would break fwupd as we'e been searching with an index, but not
actually providing one.
2023-02-23 13:04:11 -06:00
Richard Hughes
210b9c4353
trivial: Add FuProgress to fu_context_load_hwinfo()
...
TIL: fu_bios_settings_setup() takes over 50ms (10%!) at startup.
2023-02-23 13:04:11 -06:00
Richard Hughes
f204bb256b
trivial: Remove duplicate call to fu_engine_ensure_device_supported()
...
This is moderately expensive to call as it processes each requirement on each
release on each device, so the last thing we want to do is call it *twice*.
2023-02-23 13:04:11 -06:00
Richard Hughes
601fc544d2
trivial: Update all fixes using markdownlint
2023-02-23 13:04:11 -06:00
Richard Hughes
4586a3d465
trivial: Update all fixes using codespell
2023-02-23 13:04:11 -06:00
Richard Hughes
d4821886f5
Use a more compact JSON format using precommit
2023-02-23 13:04:11 -06:00
Richard Hughes
5ddaf0f610
Remove unused API for setting backend tags
...
It turns out we do not want to know the current phase of the device, and we can
achieve the same thing tagging the GUsbDevice manually and clearing the events
at exactly the correct time.
2023-02-23 13:04:11 -06:00
Richard Hughes
7a619d0841
ti-tps6598x: Assign the DMC as the proxy rather than just the parent
...
We 'write through' the parent, and by telling fwupd this we can make better
decisions when emulating.
2023-02-23 13:04:10 -06:00
Richard Hughes
c907d77608
Copy some flags from the proxy to the logical device
2023-02-23 13:04:10 -06:00
Mario Limonciello
794cbee9da
trivial: update fwupd-efi to 1.4
...
fwupd-efi 1.4 enforces that NX bit is set by default.
This won't affect most users, it should only affect those that compile
by hand and don't have fwupd-efi installed already.
2023-02-23 13:04:10 -06:00
Richard Hughes
16a3856b3a
trivial: Do not ask for polkit auth if the device is emulated
2023-02-23 13:04:10 -06:00
Richard Hughes
7277a4dd3c
trivial: Do not wait for the acquiesce delay if emulated
2023-02-23 13:04:10 -06:00
Frédéric Danis
084874d198
Propagate device tag to parent device
2023-02-23 13:04:10 -06:00
Richard Hughes
465052fec8
trivial: Correctly compress zip files in FuArchive
2023-02-23 13:04:10 -06:00
Richard Hughes
409586cbca
Ensure the new GUsbDevice is assigned in subclasses of FuUsbDevice
...
Re-incorporate the emulated USB devices when the backend device changes.
2023-02-23 13:04:10 -06:00
Richard Hughes
f2cf09ba13
trivial: Fix critical warning in future code
...
Both types need to be FuUdevDevice to compare the sysfs paths.
2023-02-23 13:04:10 -06:00
Richard Hughes
1a65617ac6
Do not return emulated devices from GetHistory
2023-02-23 13:04:10 -06:00
Richard Hughes
4dc7c5ff61
trivial: Add fu_device_has_problem() to be consistent and hide details
2023-02-23 13:04:10 -06:00
Richard Hughes
d3f4a7032d
Remove duplicate calls to fu_device_list_wait_for_replug()
...
The fu_engine_get_device() function is called at the start of each phase,
which calls fu_device_list_wait_for_replug() a second time.
Duplicate calls are at best confusing, and at worst could cause a 'device
failed to come back' failure.
2023-02-23 13:04:10 -06:00
Richard Hughes
5da8e1c760
Add a device problem for 'update-in-progress'
...
We already had this as an inhibit, but this was not translated client-side.
We also need to propagate the problem to the bootloader device if the device
replugs during firmware update.
2023-02-23 13:04:10 -06:00
Richard Hughes
3d56ac8a90
colorhug: Show the flash success value in debugging
2023-02-23 13:04:10 -06:00
Mario Limonciello
01d82b5538
Add python3-pefile/python-pefile to CI build deps
...
This is so that it can be used by subproject fwupd-efi
2023-02-23 13:04:10 -06:00
Richard Hughes
3b1400c4be
Fix hotplug events when emulating devices
2023-02-23 13:04:10 -06:00
Ivan Mikhanchuk
af74423ba5
modem-manager: remove improper use of assert
...
FuSaharaLoader being NULL is normal for devices that only
support Firehose and don't use Sahara QDL port.
2023-02-23 13:04:10 -06:00
Jason Gerecke
9bfab134ca
wacom-usb: Retry set_report on failure
...
Sometimes the flash process will randomly hang and time-out when sending
data to the device. We currently do not use any retry logic, so if this
happens the flash attempt is treated as a failure. This can be a source
of worry or frustration, especially if subsequent manual retries fail
in a similar way.
Adding FU_HID_DEVICE_FLAG_RETRY_FAILURE to the list of flags used when
calling fu_hid_device_set_report allows fwupd to try sending a block
multiple times if such a time-out (or other error) occurs. This makes
the flash process less prone to failure.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
2023-02-23 13:04:10 -06:00
Richard Hughes
85c26e17c0
trivial: Fix tests to include 'emulated'
2023-02-23 13:04:10 -06:00
Richard Hughes
83c6b33778
Add fu_device_remove_backend_tag() for future use
2023-02-23 13:04:10 -06:00
Richard Hughes
8f4604a14a
trivial: Proxy the _SAVE_EVENTS flag even if set at runtime
2023-02-23 13:04:10 -06:00
Richard Hughes
772f9db7ae
Use the new GUsb API for loading by tag
...
Based on a patch by frederic.danis@collabora.com , many thanks.
2023-02-23 13:04:10 -06:00
Richard Hughes
3c51604ab8
Do not make any of the HWIDs setup failures fatal
...
It's perfectly okay to have no HWIDs defined.
Should help with https://github.com/fwupd/fwupd/issues/5402
2023-02-23 13:04:10 -06:00
Richard Hughes
7d5f0e3e3f
trivial: Add a device flag specifying it is emulated
2023-02-23 13:04:10 -06:00
Richard Hughes
746f1bbaac
trivial: Fix fuzzing with libxmlb from main, harder
2023-02-23 13:04:10 -06:00
Richard Hughes
ed74c87782
trivial: Force enums to be uint64, harder
2023-02-23 13:04:10 -06:00
Richard Hughes
7f4491ea5c
trivial: Fix fuzzing with libxmlb from main
2023-02-23 13:04:10 -06:00
Richard Hughes
e7b08d1626
Save all the FwupdDeviceFlags in the pending database
...
Force the compiler to treat them as uint64_t so that bitwise operations work.
At the moment flags greater than 1<<32 are just being silently ignored...
2023-02-23 13:04:10 -06:00
Richard Hughes
b5a70a70ee
Support unsetting specific device flags
...
This makes it possible to 'undo' the notification, for example.
2023-02-23 13:04:10 -06:00
Richard Hughes
e92bb8a2ac
trivial: Fix build fix when using ppc64le system
2023-02-23 13:04:10 -06:00
Richard Hughes
ffd1b415d9
trivial: Use %autochangelog in reference spec file
2023-02-23 13:04:10 -06:00
Richard Hughes
3457715749
Allow desktop software to inhibit the system to prevent all updates
...
On edge hardware a process may want to disable firmware updates as it might be
a bad time to allow an upgrade.
2023-02-23 13:04:10 -06:00
Richard Hughes
6bf9c9f983
trivial: post release version bump
2023-02-23 13:04:10 -06:00
Mario Limonciello
e338b6f0ae
releasing package fwupd version 1.8.10-2
2023-01-24 09:13:05 -06:00
Mario Limonciello
dc17852b2f
Backport a patch to hopefully help with autopkgtest failures on !x86
2023-01-24 09:13:00 -06:00
Mario Limonciello
5bd4547a62
releasing package fwupd version 1.8.10-1
2023-01-23 08:52:22 -06:00
Mario Limonciello
dac3850211
Drop patches, upstream
2023-01-23 08:33:50 -06:00
Mario Limonciello
0a1f339298
Release fwupd 1.8.10
...
-----BEGIN PGP SIGNATURE-----
iQFIBAABCAAyFiEEFj61ARkiXbPfj0nqF6y6jfqXDhcFAmPOXskUHHJpY2hhcmRA
aHVnaHNpZS5jb20ACgkQF6y6jfqXDhdyBAf/YXQ8w8giq39B2Bn1AnMhjQ1Raox7
4+dgbabmHY8yP1zEDk7g2SkkXP19Ur76pYfJHg9nlo4zuGj5QlxgHwTfIeDrJE+O
pZVytRS1sKZpSJOzGXRsKbJHEr7scNap02wlSqoyzku3X1lfv8B2oKQT5aMFLxPH
E6eFN4v3V1XGeAybpTTu4UNJB3mWAZoq2oeyeavxehkznCLh9oPW+HURjtO6T1nO
RxFQC2Nu7wOc/IwE5h77OvsycC0g9VAjPFmQgP8MqT2lP3MkeIWpXH0cPBvjw+97
TvAZADAa2VEIJPVkFsIUCHxCXC2/Lo4WlrYXvW1/zWf97Kp+BtzGi9xg4Q==
=nLs4
-----END PGP SIGNATURE-----
Merge tag '1.8.10' into debian
Release fwupd 1.8.10
2023-01-23 08:18:27 -06:00