From 47115c4e7471c2591ef60fa712c0e924b66bbdef Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Sat, 20 Aug 2011 18:28:24 +0000 Subject: utils.py: fix stage3 unpack and portage sync --- gentoo/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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/"]) -- cgit v1.2.3-65-gdbad