diff --git a/1005-Add-5.10-kmod-pack.patch b/1005-Add-5.10-kmod-pack.patch index a26d9a8efbf26afce40f9451737d6f398d8dc726..22d1a85ad178fef6d56cf5709d0e2a900299101c 100644 --- a/1005-Add-5.10-kmod-pack.patch +++ b/1005-Add-5.10-kmod-pack.patch @@ -1,13 +1,15 @@ diff --git a/80-anolis/runtime-install.tmpl b/80-anolis/runtime-install.tmpl -index 3f14dd5..6b920f3 100644 +index e574b72..f4d0fa4 100644 --- a/80-anolis/runtime-install.tmpl +++ b/80-anolis/runtime-install.tmpl -@@ -170,5 +170,8 @@ installpkg spice-vdagent +@@ -188,5 +188,10 @@ installpkg spice-vdagent installpkg gdisk hexedit sg3_utils installpkg perl-interpreter +## install kmod-ast -+installpkg kmod-ast ++%if basearch != "loongarch64": ++ installpkg kmod-ast ++%endif + ## actually install all the requested packages run_pkg_transaction diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 1f767879d09fe8db96329e8e7e1a09c83b0b3bd0..8b167d6069249289525d64977dd49246e49808e9 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: 8.3 Release: 4.%{anolis_release}%{?dist} @@ -49,6 +49,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Mon Jan 09 2023 Chang Gao - 8.3-4.13 +- Do not install kmod-ast on loongarch platform + * Tue Dec 06 2022 Chang Gao - 8.3-4.12 - Merge a8 branch and a8-poc branch