From ec826de81fb616d61ad1b37eca3b5c3a7ff20d53 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Wed, 3 Aug 2022 10:11:37 +0800 Subject: [PATCH] add BOOTLOONGARCH64.EFI to support new firmware --- ...NGARCH64.EFI-to-support-new-firmware.patch | 24 +++++++++++++++++++ lorax-templates-anolis.spec | 7 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch diff --git a/0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch b/0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch new file mode 100644 index 0000000..3b3f496 --- /dev/null +++ b/0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch @@ -0,0 +1,24 @@ +From 7492dbb412aa274cc4fddb680e611e05b5609b23 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Wed, 3 Aug 2022 10:07:44 +0800 +Subject: [PATCH] add BOOTLOONGARCH64.EFI to support new firmware + +--- + 80-anolis/loongarch64.tmpl | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/80-anolis/loongarch64.tmpl b/80-anolis/loongarch64.tmpl +index 3272d9b..1a51651 100644 +--- a/80-anolis/loongarch64.tmpl ++++ b/80-anolis/loongarch64.tmpl +@@ -55,6 +55,7 @@ mkdir ${KERNELDIR} + mkdir ${EFIBOOTDIR}/fonts/ + + install boot/efi/EFI/*/grubloongarch64.efi ${EFIBOOTDIR}/BOOTLOONGARCH.EFI ++ install boot/efi/EFI/*/grubloongarch64.efi ${EFIBOOTDIR}/BOOTLOONGARCH64.EFI + install boot/efi/EFI/*/fonts/unicode.pf2 ${EFIBOOTDIR}/fonts/ + + ## actually make the EFI images +-- +2.27.0 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 0d263ea..fb36e1d 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 8 +%define anolis_release 9 Name: lorax-templates-anolis Version: 8.3 Release: 4.%{anolis_release}%{?dist} @@ -14,6 +14,7 @@ Patch1001: 1001-install-kernel-with-version-suffixed.patch Patch1002: 1002-correct-images_xen-tree-info.patch Patch1003: 1003-tmpl-update-kernels-for-aarch64-efi.patch Patch1004: 1004-shift-default-boot-number.patch +Patch1005: 0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-anolis @@ -29,6 +30,7 @@ placed in %{templatedir} %patch1002 -p1 %patch1003 -p1 %patch1004 -p1 +%patch1005 -p1 %build # nothing to build @@ -43,6 +45,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Wed Aug 03 2022 Wenlong Zhang - 8.3-4.9 +- add BOOTLOONGARCH64.EFI to support new firmware + * Fri Feb 25 2022 Liwei Ge - 8.3-4.8 - Shift default boot number -- Gitee