aboutsummarylogtreecommitdiffstats
path: root/extramodules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extramodules.patch')
-rw-r--r--extramodules.patch20
1 files changed, 15 insertions, 5 deletions
diff --git a/extramodules.patch b/extramodules.patch
index 36ca3d3f71f2..b21d67d816fc 100644
--- a/extramodules.patch
+++ b/extramodules.patch
@@ -1,8 +1,7 @@
-diff --git a/setup/Linux/oss/build/install.sh b/setup/Linux/oss/build/install.sh
-index d47637c..7304451 100644
---- a/setup/Linux/oss/build/install.sh
-+++ b/setup/Linux/oss/build/install.sh
-@@ -198,7 +198,8 @@ fi
+diff -ur a/setup/Linux/oss/build/install.sh b/setup/Linux/oss/build/install.sh
+--- a/setup/Linux/oss/build/install.sh 2023-07-12 14:59:51.253990790 +0000
++++ b/setup/Linux/oss/build/install.sh 2023-07-12 14:56:33.394164100 +0000
+@@ -198,7 +198,8 @@
if ! test -d /lib/modules/$UNAME/kernel/oss
then
@@ -12,3 +11,14 @@ index d47637c..7304451 100644
fi
if ! test -d /lib/modules/$UNAME/kernel/oss
+diff -ur a/setup/Linux/oss/scripts/restore_drv.sh b/setup/Linux/oss/scripts/restore_drv.sh
+--- a/setup/Linux/oss/scripts/restore_drv.sh 2023-07-12 14:47:07.254120802 +0000
++++ b/setup/Linux/oss/scripts/restore_drv.sh 2023-07-12 18:05:30.938684489 +0000
+@@ -9,6 +9,7 @@
+ /usr/sbin/soundoff
+
+ rm -rf /lib/modules/`uname -r`/kernel/oss
++[ $(ls -A /lib/modules/`uname -r`/extramodules) ] || rmdir /lib/modules/`uname -r`/extramodules
+
+ if test -x /sbin/chkconfig
+ then /sbin/chkconfig oss off > /dev/null 2>&1