From e57843bff1adb4a911ca84f3c44d34e4e52214f0 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 30 May 2024 11:13:25 +0000 Subject: [PATCH] add ls2k500sfb.ko for loongarch64 --- 1017-add-ls2k500sfb.ko-for-loongarch64.patch | 25 ++++++++++++++++++++ lorax-templates-anolis.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 1017-add-ls2k500sfb.ko-for-loongarch64.patch diff --git a/1017-add-ls2k500sfb.ko-for-loongarch64.patch b/1017-add-ls2k500sfb.ko-for-loongarch64.patch new file mode 100644 index 0000000..f019f6f --- /dev/null +++ b/1017-add-ls2k500sfb.ko-for-loongarch64.patch @@ -0,0 +1,25 @@ +From 107fa30275b36500e3ec40f105dce1c790613805 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Thu, 30 May 2024 11:10:48 +0000 +Subject: [PATCH] add ls2k500sfb.ko for loongarch64 + +--- + 80-anolis/runtime-cleanup.tmpl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/80-anolis/runtime-cleanup.tmpl b/80-anolis/runtime-cleanup.tmpl +index 68d6abe..5367122 100644 +--- a/80-anolis/runtime-cleanup.tmpl ++++ b/80-anolis/runtime-cleanup.tmpl +@@ -98,7 +98,7 @@ removekmod drivers/char --allbut virtio_console hw_random \ + removekmod drivers/hid --allbut hid-logitech-dj hid-logitech-hidpp + + ## As of 2020-09 most of this are built-in too, but again, keep them listed +-removekmod drivers/video --allbut hyperv_fb syscopyarea sysfillrect sysimgblt fb_sys_fops ++removekmod drivers/video --allbut hyperv_fb syscopyarea sysfillrect sysimgblt fb_sys_fops ls2k500sfb + remove lib/modules/*/{build,source,*.map} + ## NOTE: depmod gets re-run after cleanup finishes + +-- +2.43.0 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 6cd2c75..1654fb5 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 19 +%define anolis_release 20 Name: lorax-templates-anolis Version: 37.0 @@ -28,6 +28,7 @@ Patch1013: 1013-remove-strace-in-loongarch.patch 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 # Where are these supposed to end up? @@ -53,6 +54,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Thu May 30 2024 Wenlong Zhang - 37.0-1.20 +- add ls2k500sfb.ko for loongarch64 + * Tue Mar 26 2024 Chang Gao - 37.0.1-19 - Explict kmod-ast for temporary -- Gitee