aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)