Gentoo Archives: gentoo-commits

From: Wiktor W Brodlo <wiktor@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/
Date: Tue, 05 Jul 2011 13:20:20
Message-Id: 28e71d41a5239708c6132892757adea8262044c0.wiktor@gentoo
1 commit: 28e71d41a5239708c6132892757adea8262044c0
2 Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
3 AuthorDate: Tue Jul 5 13:19:56 2011 +0000
4 Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
5 CommitDate: Tue Jul 5 13:19:56 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=28e71d41
7
8 debugging spawn_chroot
9
10 ---
11 gentoo/livecd.py | 4 ++--
12 gentoo/utils.py | 1 +
13 2 files changed, 3 insertions(+), 2 deletions(-)
14
15 diff --git a/gentoo/livecd.py b/gentoo/livecd.py
16 index c4bf860..40c8005 100644
17 --- a/gentoo/livecd.py
18 +++ b/gentoo/livecd.py
19 @@ -111,12 +111,12 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
20
21 self._progress.set_label(_("Installing Gentoo onto hard drive."))
22 self._progress.set_fraction(0.0)
23 -
24 +
25 + self._gentoo_install.copy_portage()
26 # Actually install
27 self._gentoo_install.live_install()
28
29 # Now copy the portage tree
30 - self._gentoo_install.copy_portage()
31 self._gentoo_install.set_profile()
32 self._gentoo_install.install_setup_tools()
33
34
35 diff --git a/gentoo/utils.py b/gentoo/utils.py
36 index 5d3e28e..4dd6590 100644
37 --- a/gentoo/utils.py
38 +++ b/gentoo/utils.py
39 @@ -216,6 +216,7 @@ class GentooInstall:
40 pid = os.fork()
41 if pid == 0:
42
43 + print "chrooting to "+self._root
44 os.chroot(self._root)
45 os.chdir("/")
46 do_shell = False