mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 05:14:48 +08:00
32 lines
1017 B
Diff
32 lines
1017 B
Diff
|
From ca38ccd38c69a096dafa51c426ee3548980d5e2a Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@seblu.net>
|
||
|
Date: Sat, 8 Jul 2017 15:50:55 +0200
|
||
|
Subject: [PATCH] Revert "Make newly installed modules available immediately"
|
||
|
To: dkms-devel@dell.com
|
||
|
|
||
|
This reverts commit f5bfb12fef1fc06e56355cdba500eaa98d4e6aa8.
|
||
|
---
|
||
|
dkms | 6 ------
|
||
|
1 file changed, 6 deletions(-)
|
||
|
|
||
|
diff --git a/dkms b/dkms
|
||
|
index a6cedc8..3ff71d5 100644
|
||
|
--- a/dkms
|
||
|
+++ b/dkms
|
||
|
@@ -1522,12 +1522,6 @@ install_module()
|
||
|
exit 6
|
||
|
}
|
||
|
|
||
|
- # Make the newly installed modules available immediately
|
||
|
- find /sys/devices -name modalias -print0 | xargs -0 cat | xargs modprobe -a -b -q
|
||
|
- if [ -f /lib/systemd/system/systemd-modules-load.service ]; then
|
||
|
- systemctl restart systemd-modules-load.service
|
||
|
- fi
|
||
|
-
|
||
|
# Do remake_initrd things (save old initrd)
|
||
|
[[ $remake_initrd ]] && ! make_initrd "$kernelver" "$arch" && {
|
||
|
do_uninstall "$kernelver" "$arch"
|
||
|
--
|
||
|
Sébastien "Seblu" Luttringer
|
||
|
|