summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-13 11:02:46 -0400
committerChris Lumens <clumens@redhat.com>2009-03-13 14:26:56 -0400
commit466244ac808660d4ccc33c818d9b171b65a00ef7 (patch)
tree46f4ae61dc0237b53de4983a466da9e1267cbaa5 /yuminstall.py
parent3ca330121f748d608e583458c6882f3df807cc26 (diff)
downloadanaconda-466244ac808660d4ccc33c818d9b171b65a00ef7.tar.gz
anaconda-466244ac808660d4ccc33c818d9b171b65a00ef7.tar.xz
anaconda-466244ac808660d4ccc33c818d9b171b65a00ef7.zip
Rename /etc/modprobe.d/anaconda to /etc/modprobe.d/anaconda.conf
The kernel tells me that all module config files have to end with .conf in the future or they'll be ignored. We had better rename it, then.
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py
index dd272bf3c..af6963de0 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1492,9 +1492,9 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
if not upgrade:
anaconda.id.storage.fsset.write(anaconda.rootPath)
# rootpath mode doesn't have this file around
- if os.access("/etc/modprobe.d/anaconda", os.R_OK):
- shutil.copyfile("/etc/modprobe.d/anaconda",
- anaconda.rootPath + "/etc/modprobe.d/anaconda")
+ if os.access("/etc/modprobe.d/anaconda".conf, os.R_OK):
+ shutil.copyfile("/etc/modprobe.d/anaconda.conf",
+ anaconda.rootPath + "/etc/modprobe.d/anaconda.conf")
anaconda.id.network.write(instPath=anaconda.rootPath, anaconda=anaconda)
anaconda.id.storage.write(anaconda.rootPath)
if not anaconda.id.isHeadless: