git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24fb60
)
remove hardcoded file list
author
S.Çağlar Onur
<caglar@verivue.com>
Tue, 15 Mar 2011 18:31:44 +0000
(14:31 -0400)
committer
S.Çağlar Onur
<caglar@verivue.com>
Tue, 15 Mar 2011 18:32:12 +0000
(14:32 -0400)
source/steps/WriteModprobeConfig.py
patch
|
blob
|
history
diff --git
a/source/steps/WriteModprobeConfig.py
b/source/steps/WriteModprobeConfig.py
index
38c9913
..
378802d
100644
(file)
--- a/
source/steps/WriteModprobeConfig.py
+++ b/
source/steps/WriteModprobeConfig.py
@@
-59,7
+59,7
@@
def Run( vars, log, filename = "/etc/modprobe.conf"):
m.input(mfile)
blacklist = modprobe.Modprobe()
- blacklistfiles =
("blacklist","blacklist-compat","blacklist-firewire
")
+ blacklistfiles =
os.listdir("/etc/modprobe.d
")
for blf in blacklistfiles:
if os.path.exists("/etc/modprobe.d/%s"%blf):
blacklist.input("/etc/modprobe.d/%s"%blf)