diff options
author | Mathew McBride <matt@traverse.com.au> | 2023-04-20 06:38:22 +0000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2023-06-13 14:12:28 +0200 |
commit | 84f566b00c1745797e3d3ab66311306a5c27b50f (patch) | |
tree | a1cfaafeb509bb76792c2521a600d3907ebcef78 /target/linux | |
parent | ddb8845bd6be37e6126a4a56c071dd9fc3b3695a (diff) | |
download | upstream-84f566b00c1745797e3d3ab66311306a5c27b50f.tar.gz upstream-84f566b00c1745797e3d3ab66311306a5c27b50f.tar.bz2 upstream-84f566b00c1745797e3d3ab66311306a5c27b50f.zip |
armvirt: set kernel partition as the EFI system partition
U-Boot with EFI boot manager functionality will store
EFI boot order data on the ESP in the ubootefi.var file.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
(cherry picked from commit 9a76b99c1bd781248c18d69abe570f35932db8a3)
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/armvirt/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/armvirt/image/Makefile b/target/linux/armvirt/image/Makefile index bd75f85996..50c993b522 100644 --- a/target/linux/armvirt/image/Makefile +++ b/target/linux/armvirt/image/Makefile @@ -45,7 +45,7 @@ define Build/combined $(CP) $(STAGING_DIR_IMAGE)/grub2/boot$(if $(CONFIG_aarch64),aa64,arm).efi $@.boot/efi/openwrt/ $(CP) $(STAGING_DIR_IMAGE)/grub2/boot$(if $(CONFIG_aarch64),aa64,arm).efi $@.boot/efi/boot/ ) - FAT_TYPE="32" PADDING="1" SIGNATURE="$(IMG_PART_SIGNATURE)" \ + KERNELPARTTYPE=ef FAT_TYPE="32" PADDING="1" SIGNATURE="$(IMG_PART_SIGNATURE)" \ $(if $(filter $(1),efi),GUID="$(IMG_PART_DISKGUID)") $(SCRIPT_DIR)/gen_image_generic.sh \ $@ \ $(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \ |