aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2007-11-17 21:00:22 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2007-11-17 21:00:22 +0000
commit977fc39986e059a61d578618fa96ffec48df9cbf (patch)
tree72ddb5ba3320670b768a88a0594cfd241b1c1d91 /src/fe/gtk/LocalMounts.py
parentadd get_kernpkgs_from_cd() function (diff)
downloadgli-977fc39986e059a61d578618fa96ffec48df9cbf.tar.gz
gli-977fc39986e059a61d578618fa96ffec48df9cbf.tar.bz2
gli-977fc39986e059a61d578618fa96ffec48df9cbf.zip
rearrange a bit of code for gtkfe networkless-only transition
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1868 f8877401-5920-0410-a79b-8e2d7e04ca0d
Diffstat (limited to 'src/fe/gtk/LocalMounts.py')
-rw-r--r--src/fe/gtk/LocalMounts.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/fe/gtk/LocalMounts.py b/src/fe/gtk/LocalMounts.py
index cca5023..4c5b515 100644
--- a/src/fe/gtk/LocalMounts.py
+++ b/src/fe/gtk/LocalMounts.py
@@ -229,7 +229,22 @@ can remove it from the list by clicking the 'Delete' button.
msgdlg.destroy()
return
self.controller.install_profile.set_mounts(self.localmounts)
- self.controller.load_screen("NetworkMounts")
+ # Set networkless defaults for stage
+ self.controller.install_profile.set_install_stage(None, 3, None)
+ self.controller.install_profile.set_dynamic_stage3(None, True, None)
+ self.controller.install_profile.set_grp_install(None, True, None)
+ # Set networkless defaults for portage tree
+ self.controller.install_profile.set_portage_tree_snapshot_uri(None, GLIUtility.get_cd_snapshot_uri(), None)
+ self.controller.install_profile.set_portage_tree_sync_type(None, "snapshot", None)
+
+ progress = ProgressDialog(self.controller, ("mount_local_partitions", "unpack_stage_tarball", "prepare_chroot", "install_portage_tree", "configure_make_conf"), self.progress_callback)
+ progress.run()
+
+ def progress_callback(self, result, data=None):
+ if result == PROGRESS_DONE:
+ self.controller.load_screen("RootPass")
+ else:
+ GLIScreen.progress_callback(self, result, data)
def previous(self):
self.controller.install_profile.set_mounts(self.localmounts)