aboutsummaryrefslogtreecommitdiff
path: root/gentoo
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-20 17:43:54 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-20 17:43:54 +0000
commit0116e96540e524d931b181d633ec6d3f621f3ea4 (patch)
tree5dcd0881e53b047000d52fa075c936d9613e691e /gentoo
parentmirrorselect_gui.py: the tree is nice now (diff)
downloadanaconda-0116e96540e524d931b181d633ec6d3f621f3ea4.tar.gz
anaconda-0116e96540e524d931b181d633ec6d3f621f3ea4.tar.bz2
anaconda-0116e96540e524d931b181d633ec6d3f621f3ea4.zip
livecd.py, utils.py: stage3 fixes
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo/livecd.py4
-rw-r--r--gentoo/utils.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/gentoo/livecd.py b/gentoo/livecd.py
index eee802d..d506a5b 100644
--- a/gentoo/livecd.py
+++ b/gentoo/livecd.py
@@ -70,8 +70,8 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
# _getLiveSize() needs to be adjusted but more measurements are needed
def _getLiveSize(self):
- st = os.statvfs(PRODUCT_PATH)
- compressed_byte_size = st.f_blocks * st.f_bsize
+ #st = os.statvfs(PRODUCT_PATH)
+ compressed_byte_size = 150000000 #st.f_blocks * st.f_bsize
return compressed_byte_size * 3 # 3 times is enough
def _getLiveSizeMB(self):
diff --git a/gentoo/utils.py b/gentoo/utils.py
index 276d536..d634443 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -776,10 +776,10 @@ class GentooInstall:
stageurl = "http://distfiles.gentoo.org/releases/%s/autobuilds/%s" % (arch, stage)
- anaconda._intf.instProgress.terminal.run_command("wget -nc -O "+productPath+" %s " % stageurl)
+ self._anaconda._intf.instProgress.terminal.run_command("wget -nc -O "+productPath+" %s " % stageurl)
action = _("Unpacking stage3")
- anaconda._intf.instProgress.terminal.run_command("tar xvjpf "+productPath+" -C "+self._root)
+ self._anaconda._intf.instProgress.terminal.run_command("tar xvjpf "+productPath+" -C "+self._root)
self._progress.set_fraction(1)