فهرست منبع

pkg: fedora: Move surface_fan and surface_temp to kernel-modules

Dorian Stoll 1 سال پیش
والد
کامیت
c58cae4193
1فایلهای تغییر یافته به همراه26 افزوده شده و 0 حذف شده
  1. 26 0
      pkg/fedora/kernel-surface/patches/0005-filter-modules.patch

+ 26 - 0
pkg/fedora/kernel-surface/patches/0005-filter-modules.patch

@@ -0,0 +1,26 @@
+From bb654591f82503f9e3c319902af2a2b64c18ae50 Mon Sep 17 00:00:00 2001
+From: Dorian Stoll <dorian.stoll@tmsp.io>
+Date: Sat, 13 Jan 2024 12:30:02 +0100
+Subject: [PATCH] HACK: Move surface_fan and surface_temp to kernel-modules
+
+---
+ redhat/fedora_files/filter-modules.sh.fedora | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/redhat/fedora_files/filter-modules.sh.fedora b/redhat/fedora_files/filter-modules.sh.fedora
+index 2e7b79eba1d9..7ef7614cbda2 100755
+--- a/redhat/fedora_files/filter-modules.sh.fedora
++++ b/redhat/fedora_files/filter-modules.sh.fedora
+@@ -84,6 +84,9 @@ filter_ko() {
+ 	return 0
+ }
+ 
++# HACK: move surface_fan and surface_temp to kernel-modules
++singlemods="${singlemods} surface_fan surface_temp"
++
+ # Filter the drivers/ subsystems
+ for subsys in ${driverdirs}
+ do
+-- 
+2.43.0
+