Closed travier closed 1 month ago
(Not tested yet)
I pushed a change to fix compilation - would obviously be good to test in the failing scenario for real, but we could also add a unit test fixture JSON.
Thanks. I was setting up VMs to test this but got distracted by something else. Will hopefully test tomorrow.
I've added a small unit test and manually verified that this works on Fedora Silverblue Rawhide BIOS & UEFI.
zram, sr0 (CD/DVD) and LUKS devices generally don't use partitions, thus don't have a partition table and thus don't have a partition table type so this field may be null.
Fixes: https://github.com/coreos/bootupd/issues/739