summaryrefslogtreecommitdiffstats
path: root/patches/dkms.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/dkms.patch')
-rw-r--r--patches/dkms.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/patches/dkms.patch b/patches/dkms.patch
deleted file mode 100644
index 0263516..0000000
--- a/patches/dkms.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- sbin/dkms.orig 2016-09-24 00:49:50.300155014 +0100
-+++ sbin/dkms 2016-09-24 00:51:15.442929416 +0100
-@@ -1294,10 +1294,12 @@
- fi
-
- # Load installed modules
-- current_arch=`uname -m`
-- [[ $current_arch = i?86 ]] && current_arch=i586
-- if [ "${kernelver_array[0]}" == "$(uname -r)" -a "${arch_array[0]}" == "$current_arch" ]; then
-- /usr/sbin/dkms_autoload ${dest_module_name[@]}
-+ if [ -e /etc/X11/xorg.conf -o ! -e /run/mgalive ]; then
-+ current_arch=`uname -m`
-+ [[ $current_arch = i?86 ]] && current_arch=i586
-+ if [ "${kernelver_array[0]}" == "$(uname -r)" -a "${arch_array[0]}" == "$current_arch" ]; then
-+ /usr/sbin/dkms_autoload ${dest_module_name[@]}
-+ fi
- fi
-
- echo $""