[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 5/5] Copy module blacklist to target system (#569883)
- From: "Brian C. Lane" <bcl redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH 5/5] Copy module blacklist to target system (#569883)
- Date: Mon, 7 Mar 2011 22:55:40 -0800
Related: rhbz#569883
---
yuminstall.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/yuminstall.py b/yuminstall.py
index efd3ab8..2f0ef8b 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1336,7 +1336,7 @@ class YumBackend(AnacondaBackend):
dirList = ['/var', '/var/lib', '/var/lib/rpm', '/tmp', '/dev', '/etc',
'/etc/sysconfig', '/etc/sysconfig/network-scripts',
'/etc/X11', '/root', '/var/tmp', '/etc/rpm', '/var/cache',
- '/var/cache/yum']
+ '/var/cache/yum', '/etc/modprobe.d']
# If there are any protected partitions we want to mount, create their
# mount points now.
@@ -1408,6 +1408,11 @@ class YumBackend(AnacondaBackend):
if os.access("/tmp/modprobe.conf", os.R_OK):
shutil.copyfile("/tmp/modprobe.conf",
anaconda.rootPath + "/etc/modprobe.conf")
+
+ if os.access("/tmp/anaconda.conf", os.R_OK):
+ shutil.copyfile("/tmp/anaconda.conf",
+ anaconda.rootPath + "/etc/modprobe.d/anaconda.conf")
+
anaconda.id.network.write(anaconda.rootPath)
anaconda.id.iscsi.write(anaconda.rootPath)
anaconda.id.zfcp.write(anaconda.rootPath)
--
1.7.4
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]