OSDN Git Service
(root)
/
android-x86
/
bootable-newinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df729ca
)
0-auto-detect: avoid loading hyperv modules
android-x86-7.1-r2
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 2 May 2018 03:43:18 +0000
(11:43 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 2 May 2018 03:43:18 +0000
(11:43 +0800)
initrd/scripts/0-auto-detect
patch
|
blob
|
history
diff --git
a/initrd/scripts/0-auto-detect
b/initrd/scripts/0-auto-detect
index
de9b754
..
432a73d
100644
(file)
--- a/
initrd/scripts/0-auto-detect
+++ b/
initrd/scripts/0-auto-detect
@@
-15,7
+15,7
@@
auto_detect()
sort -r /lib/modules/`uname -r`/modules.alias | \
sed -n 's/^alias *\([^ ]*\) *\(.*\)/\1)busybox modprobe \2;;/p' >> $tmp
echo 'esac; done; }' >> $tmp
- for f in $(grep -Eh "drm_kms|sound.core" /lib/modules/`uname -r`/modules.dep | cut -d. -f1); do
+ for f in $(grep -Eh "drm_kms|sound.core
|hyperv
" /lib/modules/`uname -r`/modules.dep | cut -d. -f1); do
sed -i "/$(basename $f | sed 's/-/_/g')/d" $tmp
done
source $tmp