From 996da092dd7a844c150e0d9d03af73905a5f68e6 Mon Sep 17 00:00:00 2001 From: radex Date: Sun, 4 Oct 2026 15:17:06 +0200 Subject: [PATCH] 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 --- mk/qemu.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/qemu.mk b/mk/qemu.mk index e2e2d819e..707cf60ea 100644 --- a/mk/qemu.mk +++ b/mk/qemu.mk @@ -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):