- # now that dev is udev, bind mount the installer dev there
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)
-
- # and /dev/pts
- isys.mount("/dev/pts", "%s/dev/pts" %(anaconda.rootPath,), bindMount = True)
-
# and /selinux too
if flags.selinux and os.path.isdir("%s/selinux" %(anaconda.rootPath,)):
try:
diff --git a/upgrade.py b/upgrade.py
index 7cb2f5d..c080c86 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -277,8 +277,6 @@ def upgradeMountFilesystems(anaconda):
message = message + ' ' + n + '
'
anaconda.intf.messageWindow(_("Invalid Directories"), message)
sys.exit(0)
-
- bindMountDevDirectory(anaconda.rootPath)
else:
if not os.access (anaconda.rootPath + "/etc/fstab", os.R_OK):
anaconda.intf.messageWindow(_("Warning"),
diff --git a/yuminstall.py b/yuminstall.py
index 89f3668..9633032 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1457,14 +1457,6 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
except Exception, e:
log.error("error mounting selinuxfs: %s" %(e,))
- # we need to have a /dev during install and now that udev is
- # handling /dev, it gets to be more fun. so just bind mount the
- # installer /dev
- log.warning("no dev package, going to bind mount /dev")
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)
- if not upgrade:
- anaconda.id.storage.fsset.mkDevRoot(anaconda.rootP ath)
-
# write out the fstab
if not upgrade:
anaconda.id.storage.fsset.write(anaconda.rootPath)
--
1.6.1.3
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list