git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove hardcoded file list
[bootmanager.git]
/
source
/
steps
/
WriteModprobeConfig.py
diff --git
a/source/steps/WriteModprobeConfig.py
b/source/steps/WriteModprobeConfig.py
index
81f01bd
..
b954c64
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()
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)
for blf in blacklistfiles:
if os.path.exists("/etc/modprobe.d/%s"%blf):
blacklist.input("/etc/modprobe.d/%s"%blf)