From ba8ed453fb219ae0b707843974ec0287b60f72e3 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 2 Feb 2023 15:07:35 +0800 Subject: [PATCH] delete args -T for loongarch64 --- 0001-delete-args-T-for-loongarch64.patch | 25 ++++++++++++++++++++++++ lorax-templates-anolis.spec | 7 ++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-delete-args-T-for-loongarch64.patch diff --git a/0001-delete-args-T-for-loongarch64.patch b/0001-delete-args-T-for-loongarch64.patch new file mode 100644 index 0000000..d8681d7 --- /dev/null +++ b/0001-delete-args-T-for-loongarch64.patch @@ -0,0 +1,25 @@ +From f098243dbb5d2f317c2bd8a65520cf3070900707 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Thu, 2 Feb 2023 15:03:11 +0800 +Subject: [PATCH] delete args -T for loongarch64 + +--- + 80-anolis/loongarch64.tmpl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/80-anolis/loongarch64.tmpl b/80-anolis/loongarch64.tmpl +index d955753..76bb42b 100644 +--- a/80-anolis/loongarch64.tmpl ++++ b/80-anolis/loongarch64.tmpl +@@ -137,7 +137,7 @@ mkdir ${KERNELDIR} + %if exists("boot/efi/EFI/*/grubloongarch64.efi"): + ## make boot.iso + runcmd mkisofs -o ${outroot}/images/boot.iso \ +- ${efiargs} -R -J -V '${isolabel}' -T ${udfargs} \ ++ ${efiargs} -R -J -V '${isolabel}' ${udfargs} \ + -graft-points \ + ${KERNELDIR}=${outroot}/${KERNELDIR} \ + ${STAGE2IMG}=${outroot}/${STAGE2IMG} \ +-- +2.27.0 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 123bc2a..3015734 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 14 +%define anolis_release 15 Name: lorax-templates-anolis Version: 8.3 Release: 4.%{anolis_release}%{?dist} @@ -18,6 +18,7 @@ Patch1005: 0001-add-BOOTLOONGARCH64.EFI-to-support-new-firmware.patch Patch1006: 0001-loongarch-install-different-kernel-for-loongarch.patch Patch1007: 1005-Add-5.10-kmod-pack.patch Patch1008: 0001-add-boot-iso-for-loongarch64.patch +Patch1009: 0001-delete-args-T-for-loongarch64.patch # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-anolis @@ -51,6 +52,10 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Mon Jan 30 2023 Wenlong Zhang - 8.3-4.15 +- delete args -T for loongarch64 +- fix the error boot.iso can not be start for loongarch + * Mon Jan 30 2023 Wenlong Zhang - 8.3-4.14 - add boot iso for loongarch64 -- Gitee