mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
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:
parent
9fe0bdbbb0
commit
996da092dd
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user