mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-21 19:41:58 +00:00

Some hardware does not handle upgrading from version 1.2.2 to 1.2.4 and instead needs to be upgraded from 1.2.2->1.2.3->1.2.4 so that on-device metadata can be migrated correctly. Add a new per-device flag `install-all-releases` which causes the daemon to not skip directly to the newest release. This is designed to be set from a quirk file. This can obviously only be used for devices that can apply firmware "live" and thus do not need a reboot or system shutdown to actually apply the firmware. This also needs the cabinet archive to ship multiple versions of the firmware, and for the metainfo.xml file to refer to multiple release objects.
12 lines
285 B
Meson
12 lines
285 B
Meson
multiple_rels_test_firmware = custom_target('multiple-rels-test-firmware',
|
|
input : [
|
|
'firmware-123.bin',
|
|
'firmware-124.bin',
|
|
'firmware.metainfo.xml',
|
|
],
|
|
output : 'multiple-rels-1.2.4.cab',
|
|
command : [
|
|
gcab, '--create', '--nopath', '@OUTPUT@', '@INPUT@',
|
|
],
|
|
)
|