aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-21 00:45:33 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-21 00:45:33 +0000
commit1c9a3f12702457e3d198a35dd56254367dcc9802 (patch)
tree5a78897038b25e8ac1d4d1f11d240836b78bd595
parentutils.py: added a bunch of selfs, copy /etc/resolv.conf (diff)
downloadanaconda-1c9a3f12702457e3d198a35dd56254367dcc9802.tar.gz
anaconda-1c9a3f12702457e3d198a35dd56254367dcc9802.tar.bz2
anaconda-1c9a3f12702457e3d198a35dd56254367dcc9802.zip
genkernel by default
-rwxr-xr-xanaconda2
-rw-r--r--gentoo/utils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index e99e25a..15a149a 100755
--- a/anaconda
+++ b/anaconda
@@ -472,7 +472,7 @@ class Anaconda(object):
self.displayMode = None
self.extraModules = []
self.firewall = firewall.Firewall()
- self.genkernel = False
+ self.genkernel = True
self.id = None
self._instClass = None
self._instLanguage = None
diff --git a/gentoo/utils.py b/gentoo/utils.py
index 37660ce..7c57f64 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -891,7 +891,7 @@ class GentooInstall:
self._progress.set_fraction(0.9)
subprocess.call(["cp", "-PR", "/lib/modules", self._root+"/lib"])
else:
- shutil.copy2("/usr/src/linux-"+self.anaconda.kernel, self._root+"/usr/src/")
+ shutil.copy2("/usr/src/linux-"+self._anaconda.kernel, self._root+"/usr/src/")
self._progress.set_fraction(0.5)
self._progress.set_text(_("Compiling your custom kernel"))
self._anaconda._intf.instProgress.terminal.run_command("chroot "+self._root+" eselect kernel set 1")