Guests may write persistent variables to firmware in cases such as changing the boot order or configuring secure boot keys. These variables are backed by a file configured as part of pflash, typically shipped with edk2.
When reflashing, variables may need to be reset, or previous configuration may stop the flashing process, such as secure boot rejecting the signature of the flasher's bootloader.
Copy the edk2 vars file from the usr directory to a runtime location, allowing the flash method to reset this backing file.
Guests may write persistent variables to firmware in cases such as changing the boot order or configuring secure boot keys. These variables are backed by a file configured as part of pflash, typically shipped with edk2.
When reflashing, variables may need to be reset, or previous configuration may stop the flashing process, such as secure boot rejecting the signature of the flasher's bootloader.
Copy the edk2 vars file from the usr directory to a runtime location, allowing the flash method to reset this backing file.
Change-type: patch