diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-08-20 18:28:24 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-08-20 18:28:24 +0000 |
commit | 47115c4e7471c2591ef60fa712c0e924b66bbdef (patch) | |
tree | bcf460224988c0c7c64a98995e0c788709863240 | |
parent | livecd.py, utils.py: stage3 fixes (diff) | |
download | anaconda-47115c4e7471c2591ef60fa712c0e924b66bbdef.tar.gz anaconda-47115c4e7471c2591ef60fa712c0e924b66bbdef.tar.bz2 anaconda-47115c4e7471c2591ef60fa712c0e924b66bbdef.zip |
utils.py: fix stage3 unpack and portage sync
-rw-r--r-- | gentoo/utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py index d634443..49d6ee2 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -781,6 +781,9 @@ class GentooInstall: action = _("Unpacking stage3") self._anaconda._intf.instProgress.terminal.run_command("tar xvjpf "+productPath+" -C "+self._root) + os.system("mount -t proc none %s/proc" % self._root) + + self._progress.set_fraction(1) self._progress.set_text(_("Unpacking stage3 complete")) @@ -796,7 +799,7 @@ class GentooInstall: def copy_portage(self): self._progress.set_fraction(0.0) self._progress.set_text(_("Syncing the Portage tree (can take a long time)")) - self.portage.sync() + self._portage.sync() # We need some packages from anaconda-overlay but ideally they should be added to portage self._progress.set_fraction(0.1) subprocess.call(["cp", "--recursive", "/anaconda-overlay/app-admin", self._root+"/usr/portage/"]) |