File: kernelversion

package info (click to toggle)
dracut 020-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,536 kB
  • sloc: sh: 11,827; ansic: 1,960; makefile: 183; python: 165; perl: 55
file content (13 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: dracut/dracut-functions.sh
===================================================================
--- dracut.orig/dracut-functions.sh	2012-11-07 17:53:45.007521362 +0100
+++ dracut/dracut-functions.sh	2012-11-07 17:54:32.271521410 +0100
@@ -1182,7 +1182,7 @@
     local _moddirname=${srcmods%%/lib/modules/*}
 
     if [[ -f "$initdir/.kernelmodseen/lazylist" ]]; then
-        xargs modprobe -a ${_moddirname+-d ${_moddirname}/} --ignore-install --show-depends \
+        xargs modprobe -a ${_moddirname+-d ${_moddirname}/} --set-version $kernel --ignore-install --show-depends \
             < "$initdir/.kernelmodseen/lazylist" 2>/dev/null \
             | sort -u \
             | while read _cmd _modpath _options; do