mk/qemu: ensure UEFI vars are writable

On some platforms (e.g. Nix), the template variables file is non-writable. So, we need to make the copy writable before we can use it with qemu
This commit is contained in:
radex 2026-10-04 15:17:06 +02:00
parent 9fe0bdbbb0
commit 996da092dd

View File

@ -358,6 +358,7 @@ qemu-deps: $(BUILD)/fw_vars.bin
.PRECIOUS: $(BUILD)/fw_vars.bin
$(BUILD)/fw_vars.bin: $(PFLASH1)
cp "$<" "$@"
chmod +w "$@"
endif
$(EXTRA_DISK):