From d0a197f6ff96efcef1f5692085c501667baa60d4 Mon Sep 17 00:00:00 2001 From: happy_orange Date: Fri, 16 Jun 2023 19:56:27 +0800 Subject: [PATCH] add kmod-ast in anaconda --- 1012-add-kmod-ast-in-anaconda.patch | 27 +++++++++++++++++++++++++++ lorax-templates-anolis.spec | 6 +++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 1012-add-kmod-ast-in-anaconda.patch diff --git a/1012-add-kmod-ast-in-anaconda.patch b/1012-add-kmod-ast-in-anaconda.patch new file mode 100644 index 0000000..a9d14b7 --- /dev/null +++ b/1012-add-kmod-ast-in-anaconda.patch @@ -0,0 +1,27 @@ +From b6a8b9a4d5949aa6cd82b36e3eb130f78d6276df Mon Sep 17 00:00:00 2001 +From: happy_orange +Date: Fri, 16 Jun 2023 19:54:46 +0800 +Subject: [PATCH 1/1] add kmod-ast in anaconda + +--- + 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 410c774..5e4a137 100644 +--- a/80-anolis/runtime-install.tmpl ++++ b/80-anolis/runtime-install.tmpl +@@ -172,5 +172,10 @@ installpkg spice-vdagent + installpkg gdisk hexedit sg3_utils + installpkg prefixdevname + ++## install kmod-ast ++%if basearch != "loongarch64": ++ installpkg kmod-ast ++%endif ++ + ## actually install all the requested packages + run_pkg_transaction +-- +2.40.1 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index f9e62d2..67dae87 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 11 +%define anolis_release 12 Name: lorax-templates-anolis Version: 37.0 @@ -22,6 +22,7 @@ Patch1008: 1008-remove-some-unused-package.patch 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 # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-anolis @@ -46,6 +47,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Fri Jun 16 2023 happy_orange - 37.0.1-11 +- add kmod-ast in anaconda + * Tue Apr 18 2023 happy_orange - 37.0.1-10 - remove the nm-applet bindir -- Gitee