diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-10-10 19:06:55 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-10-10 19:06:55 +0000 |
commit | 8c7d3266c7720c3c642f3663c9de9a7cd638720a (patch) | |
tree | bd40108dc05773fbfc7d88660349bd311d473155 /livecd.py | |
parent | c9945be0b668e18308fc6b5890ff85aec11d868b (diff) | |
download | anaconda-8c7d3266c7720c3c642f3663c9de9a7cd638720a.tar.gz anaconda-8c7d3266c7720c3c642f3663c9de9a7cd638720a.tar.xz anaconda-8c7d3266c7720c3c642f3663c9de9a7cd638720a.zip |
2007-10-10 Jeremy Katz <katzj@redhat.com>
* livecd.py (LiveCDCopyBackend.doPostInstall): Copy over
modprobe.conf from the live system
Diffstat (limited to 'livecd.py')
-rw-r--r-- | livecd.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -314,6 +314,11 @@ class LiveCDCopyBackend(backend.AnacondaBackend): f = open(anaconda.rootPath + "/etc/mtab", "w+") f.write(anaconda.id.fsset.mtab()) f.close() + + # copy over the modprobe.conf + if os.path.exists("/etc/modprobe.conf"): + shutil.copyfile("/etc/modprobe.conf", + anaconda.rootPath + "/etc/modprobe.conf") # rebuild the initrd(s) vers = self.kernelVersionList(anaconda.rootPath) |