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