diff --git a/grub2-arm64-mknetdir-add-suport-for-arm64-efi.patch b/grub2-arm64-mknetdir-add-suport-for-arm64-efi.patch new file mode 100644 index 0000000..e862eb5 --- /dev/null +++ b/grub2-arm64-mknetdir-add-suport-for-arm64-efi.patch @@ -0,0 +1,26 @@ +From 9243e32707c4b76d4b7ebbc0b4952135d159799d Mon Sep 17 00:00:00 2001 +From: Dirk Mueller +Date: Tue, 11 Oct 2016 22:19:02 +0200 +Subject: [PATCH] grub-mknetdir: Add support for ARM64 EFI + +--- + util/grub-mknetdir.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/util/grub-mknetdir.c b/util/grub-mknetdir.c +index 3813e8b..82073d5 100644 +--- a/util/grub-mknetdir.c ++++ b/util/grub-mknetdir.c +@@ -106,7 +106,8 @@ static const struct + [GRUB_INSTALL_PLATFORM_I386_EFI] = { "i386-efi", "efinet", ".efi" }, + [GRUB_INSTALL_PLATFORM_X86_64_EFI] = { "x86_64-efi", "efinet", ".efi" }, + [GRUB_INSTALL_PLATFORM_IA64_EFI] = { "ia64-efi", "efinet", ".efi" }, +- [GRUB_INSTALL_PLATFORM_ARM_EFI] = { "arm-efi", "efinet", ".efi" } ++ [GRUB_INSTALL_PLATFORM_ARM_EFI] = { "arm-efi", "efinet", ".efi" }, ++ [GRUB_INSTALL_PLATFORM_ARM64_EFI] = { "arm64-efi", "efinet", ".efi" } + }; + + static void +-- +2.10.0 + diff --git a/grub2.changes b/grub2.changes index fd524d2..ae4ca15 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 11 20:59:40 UTC 2016 - dmueller@suse.com + +- add support for netboot on arm64-efi platforms (bsc#998097) + * grub2-arm64-mknetdir-add-suport-for-arm64-efi.patch + ------------------------------------------------------------------- Fri Sep 2 03:24:19 UTC 2016 - mchang@suse.com diff --git a/grub2.spec b/grub2.spec index ab46a36..f03eb49 100644 --- a/grub2.spec +++ b/grub2.spec @@ -202,6 +202,7 @@ Patch122: grub2-efi-xen-cmdline.patch # 32bit ARM EFI FDT table pass-through support Patch130: 0001-arm64-Move-firmware-fdt-search-into-global-function.patch Patch131: 0002-arm-efi-Use-fdt-from-firmware-when-available.patch +Patch132: grub2-arm64-mknetdir-add-suport-for-arm64-efi.patch # Hidden menu entry and hotkey "t" for text console Patch140: grub2-Add-hidden-menu-entries.patch Patch141: grub2-SUSE-Add-the-t-hotkey.patch @@ -439,6 +440,7 @@ swap partition while in resuming %patch122 -p1 %patch130 -p1 %patch131 -p1 +%patch132 -p1 %patch140 -p1 %patch141 -p1 %patch150 -p1