1 |
commit: 7334088cbdd833f618e7649eaf72c77482f08ed6 |
2 |
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net> |
3 |
AuthorDate: Mon Jul 4 21:18:54 2011 +0000 |
4 |
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net> |
5 |
CommitDate: Mon Jul 4 21:18:54 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=7334088c |
7 |
|
8 |
gentoo/utils.py: use call() in copy_portage |
9 |
|
10 |
--- |
11 |
gentoo/utils.py | 8 ++++---- |
12 |
1 files changed, 4 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/gentoo/utils.py b/gentoo/utils.py |
15 |
index ec77e04..60c332a 100644 |
16 |
--- a/gentoo/utils.py |
17 |
+++ b/gentoo/utils.py |
18 |
@@ -777,8 +777,8 @@ class GentooInstall: |
19 |
# self._setup_packages_to_remove() |
20 |
|
21 |
action = _("System Installation") |
22 |
- copy_update_interval = 300 |
23 |
- copy_update_counter = 299 |
24 |
+ copy_update_interval = 100 |
25 |
+ copy_update_counter = 99 |
26 |
# get file counters |
27 |
total_files = 0 |
28 |
image_dir = self._prod_root |
29 |
@@ -1054,10 +1054,10 @@ class GentooInstall: |
30 |
def copy_portage(self): |
31 |
self._progress.set_fraction(0.0) |
32 |
self._progress.set_text(_("Copying the Portage tree")) |
33 |
- subprocess.Popen("cp", "--recursive", "/usr/portage", self._root+"/usr/") |
34 |
+ subprocess.call(["cp", "--recursive", "/usr/portage", self._root+"/usr/"]) |
35 |
# We need some packages from anaconda-overlay but ideally they should be added to portage |
36 |
self._progress.set_fraction(0.5) |
37 |
- subprocess.Popen("cp", "--recursive", "/anaconda-overlay", self._root+"/usr/portage") |
38 |
+ subprocess.call(["cp", "--recursive", "/anaconda-overlay", self._root+"/usr/portage"]) |
39 |
|
40 |
def install_setup_tools(self): |
41 |
self._portage.install("system-config-date system-config-keyboard system-config-users") |