rhboot / fwupdate

System firmware update support for UEFI machines
99 stars 47 forks source link

Fix fwupx64.efi not actually staging capsules properly. (#80) #91

Closed superm1 closed 6 years ago

superm1 commented 6 years ago

Bisecting master shows that the problem was introduced in 6f63cdd9.

When the guid_cmp comparison was put in place it flipped the logic of one of the checks.

git bisect start 'efi/' bad: [5c2a8d03a9f4d11f3624dc201ff1d2207d19e995] efi: better debugging on our capsule tests. git bisect bad 5c2a8d03a9f4d11f3624dc201ff1d2207d19e995 good: [04daa639f2a8a125dea0dbe8bc150d9cd1d87550] Make SUBDIRS overrideable git bisect good 04daa639f2a8a125dea0dbe8bc150d9cd1d87550 good: [cd9ea4cbdc93da922ce9abc45c7de63fe252ecc8] efi: delete the boot path from the BootOrder list git bisect good cd9ea4cbdc93da922ce9abc45c7de63fe252ecc8 good: [515b0c0800beb48e928e367d254bd14f25da034a] Fix capsule sizes for our ux image capsules git bisect good 515b0c0800beb48e928e367d254bd14f25da034a bad: [6f63cdd9eabf533fce909f40bf197c699b20d363] efi: Add guid_cmp() and remove manual comparisons. git bisect bad 6f63cdd9eabf533fce909f40bf197c699b20d363 good: [55ed685dec24c57129de6cf66e24388d05b5ed2a] Reorganize Make.version a bit so "bumpver" works better. git bisect good 55ed685dec24c57129de6cf66e24388d05b5ed2a good: [75391bc4c3dcfc384ae9527d3fd82933280a2276] Adding capsule headers should add flags if it's /not/ a ux cap. git bisect good 75391bc4c3dcfc384ae9527d3fd82933280a2276 first bad commit: [6f63cdd9eabf533fce909f40bf197c699b20d363] efi: Add guid_cmp() and remove manual comparisons.

vathpela commented 6 years ago

Thanks, I've pushed this to master.