projects
/
catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4736819
)
Fix incorrect type for livecd/modblacklist.
author
Brian Dolbec
<dolsen@gentoo.org>
Fri, 2 Aug 2013 05:59:10 +0000
(22:59 -0700)
committer
Brian Dolbec
<dolsen@gentoo.org>
Fri, 2 Aug 2013 05:59:10 +0000
(22:59 -0700)
Bug reported by tstellar.
modules/livecd_stage2_target.py
patch
|
blob
|
history
diff --git
a/modules/livecd_stage2_target.py
b/modules/livecd_stage2_target.py
index f816b2147426b205daaa082fd4576de8f7504332..5be8fd23870d7955eee29230de511ddd8ea5b84f 100644
(file)
--- a/
modules/livecd_stage2_target.py
+++ b/
modules/livecd_stage2_target.py
@@
-68,6
+68,9
@@
class livecd_stage2_target(generic_stage_target):
raise CatalystError,"Couldn't open "+self.settings["chroot_path"]+"/etc/modprobe.d/blacklist.conf."
myf.write("\n#Added by Catalyst:")
+ # workaround until config.py is using configparser
+ if isinstance(self.settings["livecd/modblacklist"], str):
+ self.settings["livecd/modblacklist"] = self.settings["livecd/modblacklist"].split()
for x in self.settings["livecd/modblacklist"]:
myf.write("\nblacklist "+x)
myf.close()