diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-13 21:20:29 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-13 21:20:29 +0000 |
commit | ecfea97d395e2340197cdc02e0c03207f30960ca (patch) | |
tree | 88e297a9fd4afc5385ae8b6072a4e2de3eee7d67 /packages.py | |
parent | 98e731eb70ec6506841d54a009d03ab0d14019b3 (diff) | |
download | anaconda-ecfea97d395e2340197cdc02e0c03207f30960ca.tar.gz anaconda-ecfea97d395e2340197cdc02e0c03207f30960ca.tar.xz anaconda-ecfea97d395e2340197cdc02e0c03207f30960ca.zip |
# 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
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages.py b/packages.py index 8a108edfd..878f7391a 100644 --- a/packages.py +++ b/packages.py @@ -747,6 +747,13 @@ def doPreInstall(method, id, intf, instPath, dir): except Exception, e: log("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 + if not id.grpset.hdrlist.has_key("dev"): + log("no dev package, going to bind mount /dev") + isys.mount("/dev", "/mnt/sysimage/dev", bindMount = 1) + # try to copy the comps package. if it doesn't work, don't worry about it try: id.compspkg = method.copyFileToTemp("%s/base/comps.rpm" % (productPath,)) |