# Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2
+ 23 Aug 2009; Andrew Gaffney <agaffney@gentoo.org>
+ modules/catalyst/target/livecd_stage2.py:
+ Apply patch for module blacklisting from gentoo bug #282148
+
28 Jun 2009; Andrew Gaffney <agaffney@gentoo.org> files/livecd/README.txt,
files/livecd/x86-F6.msg:
Apply patch to document espeakup support for gentoo bug #267708
# what modules do we want to blacklist?
if "livecd/modblacklist" in self.settings:
try:
- myf=open(self.settings["chroot_path"]+"/etc/hotplug/blacklist","a")
+ myf=open(self.settings["chroot_path"]+"/etc/modprobe.d/blacklist.conf","a")
except:
self.unbind()
- raise CatalystError,"Couldn't open "+self.settings["chroot_path"]+"/etc/hotplug/blacklist."
+ raise CatalystError,"Couldn't open "+self.settings["chroot_path"]+"/etc/modprobe.d/blacklist.conf."
myf.write("\n#Added by Catalyst:")
for x in self.settings["livecd/modblacklist"]:
- myf.write("\n"+x)
+ myf.write("\nblacklist "+x)
myf.close()
def unpack(self):