• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revision2ad719ad809e14944b9b00264fec3e3a2e2f9af4 (tree)
Time2018-05-02 12:43:18
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

0-auto-detect: avoid loading hyperv modules

Change Summary

Incremental Difference

--- a/initrd/scripts/0-auto-detect
+++ b/initrd/scripts/0-auto-detect
@@ -15,7 +15,7 @@ auto_detect()
1515 sort -r /lib/modules/`uname -r`/modules.alias | \
1616 sed -n 's/^alias *\([^ ]*\) *\(.*\)/\1)busybox modprobe \2;;/p' >> $tmp
1717 echo 'esac; done; }' >> $tmp
18- for f in $(grep -Eh "drm_kms|sound.core" /lib/modules/`uname -r`/modules.dep | cut -d. -f1); do
18+ for f in $(grep -Eh "drm_kms|sound.core|hyperv" /lib/modules/`uname -r`/modules.dep | cut -d. -f1); do
1919 sed -i "/$(basename $f | sed 's/-/_/g')/d" $tmp
2020 done
2121 source $tmp