aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/utils.py')
-rw-r--r--gentoo/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py
index 507ac82..276d536 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -776,7 +776,7 @@ class GentooInstall:
stageurl = "http://distfiles.gentoo.org/releases/%s/autobuilds/%s" % (arch, stage)
- os.system("wget -nc -O "+productPath+" %s " % stageurl)
+ 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)
@@ -895,7 +895,7 @@ class GentooInstall:
anaconda._intf.instProgress.terminal.run_command("chroot "+self._root+" eselect kernel set 1")
anaconda._intf.instProgress.terminal.run_command("cd "+self._root+"/usr/src/linux")
anaconda._intf.instProgress.terminal.run_command("make && make modules && make modules_install")
- shutil.copy2(self+.root+"/usr/src/linux/arch/x86/boot/bzImage", self._root+"/boot/kernel-gentoo")
+ shutil.copy2(self._root+"/usr/src/linux/arch/x86/boot/bzImage", self._root+"/boot/kernel-gentoo")
self._progress.set_fraction(1.0)