From dd996576d8865701d28c664105ca8db5171cffac Mon Sep 17 00:00:00 2001 From: "Wenlong@SYS3" Date: Mon, 22 Jul 2024 17:38:05 +0800 Subject: [PATCH] Set data source for EFI System Partition on loongarch64 --- ...-EFI-System-Partition-on-loongarch64.patch | 24 +++++++++++++++++++ lorax-templates-anolis.spec | 6 ++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 1018-Set-data-source-for-EFI-System-Partition-on-loongarch64.patch diff --git a/1018-Set-data-source-for-EFI-System-Partition-on-loongarch64.patch b/1018-Set-data-source-for-EFI-System-Partition-on-loongarch64.patch new file mode 100644 index 0000000..258eed5 --- /dev/null +++ b/1018-Set-data-source-for-EFI-System-Partition-on-loongarch64.patch @@ -0,0 +1,24 @@ +From d2c5222a7b36a0efa72e412fb0d9ecec9794a1ee Mon Sep 17 00:00:00 2001 +From: "Wenlong Zhang" +Date: Mon, 22 Jul 2024 17:34:33 +0800 +Subject: [PATCH] Set data source for EFI System Partition on loongarch64 + +--- + 80-anolis/loongarch64.tmpl | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/80-anolis/loongarch64.tmpl b/80-anolis/loongarch64.tmpl +index cd8c1ae..c7c0691 100644 +--- a/80-anolis/loongarch64.tmpl ++++ b/80-anolis/loongarch64.tmpl +@@ -79,6 +79,7 @@ mkdir ${KERNELDIR} + runcmd xorrisofs -o ${outroot}/images/boot.iso \ + ${efiargs} -R -J -V '${isolabel}' \ + -graft-points -full-iso9660-filenames \ ++ -efi-boot-part --efi-boot-image \ + .discinfo=${outroot}/.discinfo \ + ${KERNELDIR}=${outroot}/${KERNELDIR} \ + ${STAGE2IMG}=${outroot}/${STAGE2IMG} \ +-- +2.43.0 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 1654fb5..fecca86 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 20 +%define anolis_release 21 Name: lorax-templates-anolis Version: 37.0 @@ -29,6 +29,7 @@ Patch1014: 1014-add-loongarch64-support-for-lorax-templates-anolis.patch Patch1015: 1015-add-boot.iso-for-loongarch64.patch Patch1016: 1016-remove-deprecated-kernel-packs-in-6.6-version.patch Patch1017: 1017-add-ls2k500sfb.ko-for-loongarch64.patch +Patch1018: 1018-Set-data-source-for-EFI-System-Partition-on-loongarch64.patch # Where are these supposed to end up? @@ -54,6 +55,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Mon Jul 22 2024 Wenlong Zhang - 37.0-1.21 +- Set data source for EFI System Partition on loongarch64 + * Thu May 30 2024 Wenlong Zhang - 37.0-1.20 - add ls2k500sfb.ko for loongarch64 -- Gitee