FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 03-08-2011, 05:55 AM
"Brian C. Lane"
 
Default Copy module blacklist to target system (#569883)

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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-08-2011, 06:58 AM
Ales Kozumplik
 
Default Copy module blacklist to target system (#569883)

On 03/08/2011 07:55 AM, Brian C. Lane wrote:

Related: rhbz#569883
---
yuminstall.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)


Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org