mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-10 10:20:31 +00:00
android-boot: set default version format
In case no version is found, android-boot plugin uses a fall back version (0.0.0) but no version format is set. Therefore, fwupd uses format 'plain' as default which is not correct as 0.0.0 is a triplet.
This commit is contained in:
parent
0415db6f67
commit
4c7906c8fd
@ -358,6 +358,7 @@ fu_android_boot_device_init(FuAndroidBootDevice *self)
|
||||
* will disappear. If version reporting is available, the reported version is set.
|
||||
*/
|
||||
fu_device_set_version(FU_DEVICE(self), ANDROID_BOOT_UNKNOWN_VERSION);
|
||||
fu_device_set_version_format(FU_DEVICE(self), FWUPD_VERSION_FORMAT_TRIPLET);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user