diff --git a/1013-remove-strace-in-loongarch.patch b/1013-remove-strace-in-loongarch.patch new file mode 100644 index 0000000000000000000000000000000000000000..f7f9222b1351cb5c56e92ff6c2026346c5d89939 --- /dev/null +++ b/1013-remove-strace-in-loongarch.patch @@ -0,0 +1,29 @@ +From 3f142cc72fc0d9d39d9cbe55841d5c64113edd59 Mon Sep 17 00:00:00 2001 +From: happy_orange +Date: Tue, 5 Dec 2023 20:01:20 +0800 +Subject: [PATCH 1/1] 1 + +--- + 80-anolis/runtime-install.tmpl | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/80-anolis/runtime-install.tmpl b/80-anolis/runtime-install.tmpl +index 5e4a137..4ecec95 100644 +--- a/80-anolis/runtime-install.tmpl ++++ b/80-anolis/runtime-install.tmpl +@@ -166,7 +166,12 @@ installpkg python3-pyatspi + ## extra tools not required by anaconda + ## installpkg nano nano-default-editor + installpkg nano ++%if basearch != "loongarch64": + installpkg vim-minimal strace lsof dump xz less ++%else ++installpkg vim-minimal lsof dump xz less ++%endif ++ + installpkg wget rsync bind-utils ftp mtr vconfig + installpkg spice-vdagent + installpkg gdisk hexedit sg3_utils +-- +2.40.1 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 67dae8732906e8db2a24eb7e19ac8f4aea90def3..769e93febaf377a751e505372f0a447708e801ca 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 12 +%define anolis_release 13 Name: lorax-templates-anolis Version: 37.0 @@ -23,6 +23,7 @@ Patch1009: 1009-do-not-remove-libtiff-for-spice-vdagent.patch Patch1010: 1010-remove-ia32-package.patch Patch1011: 1011-remove-the-nm-applet.patch Patch1012: 1012-add-kmod-ast-in-anaconda.patch +Patch1013: 1013-remove-strace-in-loongarch.patch # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-anolis @@ -47,10 +48,13 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog -* Fri Jun 16 2023 happy_orange - 37.0.1-11 +* Mon Dec 05 2023 happy_orange - 37.0.1-13 +- remove strace in loongarch + +* Fri Jun 16 2023 happy_orange - 37.0.1-12 - add kmod-ast in anaconda -* Tue Apr 18 2023 happy_orange - 37.0.1-10 +* Tue Apr 18 2023 happy_orange - 37.0.1-11 - remove the nm-applet bindir * Mon Apr 17 2023 happy_orange - 37.0.1-10