28 Commits

Author SHA1 Message Date
Markus Volk
84d6e138cb
cleanup after polkit fix
This commit removes the need to fix polkit permissions:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1

That allows to do some cleanup

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-01 15:54:30 -07:00
Wang Mingyu
5febf58a8c
fwupd: upgrade 1.9.22 -> 1.9.24
Changelog:
=========
Bugfix:
---------
- Add support for capsule on disk for Dell systems
- Do not re-use the connection cache to fix Redfish BMC restart
- Exclude known recovery partitions when choosing an ESP volume
- Fix the VLI usb3 private flag registration

Add suppoert:
-------------
- More Mediatek scaler devices
- Parade USB hubs

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:30 -07:00
Wang Mingyu
415c1ce60f
fwupd: upgrade 1.9.18 -> 1.9.22
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:13 -07:00
Mikko Rapeli
e77f9f2feb
fwupd: skip buildpaths errors
Test binaries are embeddding build paths and can't easily
figure out why. Thus ignore the errors in these binaries
for now.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-26 09:51:39 -07:00
Alexandre Truong
7125ce1aae
fwupd: include UPSTREAM_CHECK_REGEX to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status
from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:33 -07:00
Khem Raj
10fc3fa15f
fwupd-efi: Upgrade to 1.6
Drop cc settings patch this code piece has been removed upstream
Add a patch to use native python
Disable incompatible-pointer-types warning as error with gcc-14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-09 22:43:45 -07:00
Mikko Rapeli
80719a61a5
fwupd: fix uefi capsule update build error
plugin_uefi_capsule_splash does not provide "enabled" or "disabled"
options but only basic bool "true" and "false". Fixes do_configure()
failure with
PACKAGECONFIG:append = " plugin_tpm plugin_uefi_pk plugin_uefi_capsule ":

| ../fwupd-1.9.18/meson.build:1:0: ERROR: Value disabled is not boolean (true or false).

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-03 07:23:44 -07:00
Khem Raj
25e1917a44
fwupd: Upgrade to 1.9.18 release
Drop patch which is already upstreamed in this release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-29 11:11:51 -07:00
Khem Raj
62a3fa25e4 fwupd: Do not emit build time paths into generated headers
Fixes
WARNING: fwupd-1.8.9-r0 do_package_qa: QA Issue: File /usr/src/debug/fwupd/1.8.9-r0/src/fu-plugin-builtin.h in package fwupd-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-17 11:51:16 -07:00
Markus Volk
4c1f83d272 fwupd: fix polkit rules.d permissions
This fixes:

Error: Transaction test error:
  file /usr/share/polkit-1/rules.d conflicts between attempted installs of fwupd-1.8.9-r0.intel_corei7_64 and polkit-122-r0.corei7_64
  file /usr/share/polkit-1/rules.d conflicts between attempted installs of flatpak-1.15.1-r0.corei7_64 and fwupd-1.8.9-r0.intel_corei7_64

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-13 14:35:35 -08:00
Richard Hughes
d42d733990 fwupd: Upgrade to 1.8.9
Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-16 10:32:40 -08:00
Robert Joslyn
2ab46bac63 fwupd: Fix plugin_gpio PACKAGECONFIG
Trying to disable the gpio plugin results in an error

	ERROR: Option 'plugin_gpio' must have a value separated by equals sign.

Correct the PACKAGECONFIG for this option so it can be disabled.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-23 22:10:01 -07:00
Khem Raj
ca7447990d fwupd: Replace python3.7 patch with upstreamed one
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-21 06:36:46 -07:00
Khem Raj
5ce4505210 fwupd: Drop sqlite3 from default deps
sqlite support is controlled by a packageconfig which will add it when
needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-14 21:33:38 -07:00
Khem Raj
8e295e4e1e fwupd: Fix tostring() call to not have xml_declaration param
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-12 11:29:53 -07:00
Khem Raj
0eca35be06 fwupd: Upgrade to 1.8.4
Remove packageconfig for thunderbolt, its not a plugin anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-11 20:42:05 -07:00
wangmy
a368124938 fwupd: upgrade 1.7.6 -> 1.8.1
Changelog:
=========
new features:
--------------
    Add archive writing support for devices with composite firmware
    Add a way to read device composite firmware in fwupdtool
    Allow clients to opt-in to showing updates with user-solvable problems
    Allow the device to pause polling when writing firmware
    Export the system and device battery levels on the D-Bus interface
    Log errors and warnings to the win32 eventlog when required
    Add X-UsbReceiver as an update category with icon usb-receiver

fixes bugs:
-------------
    Accurately return the last-set status to client tools
    Allow dumping flashrom firmware using fwupdtool
    Allow specifying a non-file D-Bus transport
    Allow to request post actions from fwupdtool
    Always be arch-explicit when installing OS deps
    Be more resilient when restarting the Redfish BMC
    Do not mark all Redfish updates as UPDATABLE
    Do not use 'dongle' to describe USB receiver hardware
    Download in-process when using fwupdtool
    Fix a critical warning on failed modem update
    Fix regression when probing PS175 devices
    Hardcode the Redfish filedata name to firmware.bin
    Set the Bluetooth version if REV has been set
    Switch the Windows installer from NSIS to MSI
    Use StartServiceCtrlDispatcherA for the daemon on Windows
    Use the native certificate store on Windows

new support:
------------
    Corsair KATAR PRO XT, SABRE PRO and KATAR PRO Wireless
    HP Thunderbolt Dock G4
    Lenovo ThinkPad Universal USB-C Dock
    More PixArt wireless devices
    More SunplusIT USB cameras
    Some UFS devices
    Steelseries Aerox 3 Wireless and Rival 3 Wireless

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 00:08:14 -04:00
wangmy
33167569ef fwupd-efi: upgrade 1.2 -> 1.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Khem Raj
1fa927eba9 fwupd: Enable build with musl
It does not fail anymore as the qemu options has been sorted

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 11:00:43 -07:00
Davide Gardenal
bcb6af4c10 fwupd: add COMPATIBLE_HOST to match dependency
Add COMPATIBLE_HOST to fix build error when musl is enabled,
this will match efivar requirements.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-06 20:25:34 -04:00
Richard Hughes
5c5a21112d fwupd: New release
New features:
- Add a flag to indicate the device has a signed or unsigned payload
- Add a plugin to set a GPIO pin for the duration of an update
- Add a simple plugin to enumerate (but not update) SCSI hardware
- Add two more instance IDs to the MTD devices
- Add X-BaseboardManagementController as an update category
- Allow assigning issues to devices for known high priority problems
- Parse the MTD firmware version using the defined GType

Fixed bugs:
- Modify the AT retry behavior to fix getting the firmware branch
- Do not show a warning if the TPM eventlog does not exist
- Do not show TSS2 warning messages by default
- Fix a critical warning when loading an empty TPM eventlog item
- Fix the error handling when updating USB4 retimers
- Show the user when devices are not updatable due to inhibits
- Skip probing the Dell DA300 device to avoid a warning
- Try harder to convert to a version into a correct semver
- Use multiple checksums when there are no provided artifacts

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-07 09:27:53 -08:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Ross Burton
880defa729 fwupd-efi: upgrade to 1.2
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03 08:44:32 -08:00
Richard Hughes
4b51cf81df fwupd: Update to 1.7.3
New features:
 - Add a sync-bkc subcommand to ensure a known set of firmware versions
 - Make Upower and powerd support optional

Fixed bugs:
 - Check the value range when parsing the quirk keys
 - Do not wait for a USB runtime if will-disappear is set
 - Enable the MOTD integration when using pam_motd
 - Ignore a USB error for STM32 attach when the device goes away
 - Make the HSI tests optional for embedded targets
 - Make the plugin startup order deterministic
 - Use endian-safe version functions when enumerating Logitech hardware

Adding support for the following hardware:
 - Most Nordic Semiconductor nRF Secure devices

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-14 08:13:53 -08:00
Ross Burton
236822433d fwupd: fix dependency typo
lzma was the PACKAGECONFIG name, not the recipe name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-24 09:35:40 -08:00
Ross Burton
03c5f64174 fwupd: upgrade to 1.7.2
PACKAGECONFIG changes:
- Rename bluez to bluetooth
- Remove plugin_altos as the plugin was removed upstream
- Move lzma to intel-spi as that's the only user so far
- Disable AMT and Thunderbolt on non-x86
- Add offline option and enable it in systemd builds
- Add disabled options for compat-cli, fish-completion, and metainfo.

Also drop upstreamed patches.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-23 10:33:05 -08:00
Ross Burton
786a317182 fwupd: add new recipe
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 11:23:54 -08:00
Ross Burton
2a46c9947c fwupd-efi: add new recipe
This is the EFI executable that is used by fwupd when building EFI
capsules.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 06:53:02 -08:00