From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QfJHT-0003Yl-Pj for garchives@archives.gentoo.org; Fri, 08 Jul 2011 22:12:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CC1721C1C7 for ; Fri, 8 Jul 2011 22:12:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0C79621C0A6 for ; Fri, 8 Jul 2011 22:07:15 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6907C2AC109 for ; Fri, 8 Jul 2011 22:07:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C263C8003D for ; Fri, 8 Jul 2011 22:07:14 +0000 (UTC) From: "Wiktor W Brodlo" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" Message-ID: <4eb9ec75138168ab15b7c99b18c9bfb11f62efe3.wiktor@gentoo> Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/ X-VCS-Repository: proj/anaconda X-VCS-Files: gentoo/utils.py X-VCS-Directories: gentoo/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: 4eb9ec75138168ab15b7c99b18c9bfb11f62efe3 Date: Fri, 8 Jul 2011 22:07:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: cf15e5949cb59a395282ef4cfb1d0aed commit: 4eb9ec75138168ab15b7c99b18c9bfb11f62efe3 Author: wiktor w brodlo brodlo net> AuthorDate: Fri Jul 8 22:06:53 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Fri Jul 8 22:06:53 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3D4eb9ec75 gentoo/utils.py: copy kernel and modules from liveDVD --- gentoo/utils.py | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gentoo/utils.py b/gentoo/utils.py index 96ece10..67d300f 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -1017,6 +1017,7 @@ class GentooInstall: text =3D self.makeconf_factory(self._anaconda, os.environ["ANACO= NDA_PRODUCTARCH"]) makeconf =3D open(self._root+"/etc/make.conf", "w") makeconf.write(text) + makeconf.close() =20 def makeconf_factory(self, settings, arch): cflags =3D "-march=3D%s -O%s" % (settings.makeconf_march, settin= gs.makeconf_opt) @@ -1055,12 +1056,11 @@ class GentooInstall: =20 def install_kernel(self): self._progress.set_text(_("Installing the kernel")) - self.install_package(" %s/usr/src/linux= /.config" % self._root) - self._anaconda._intf.instProgress.terminal.run_command( - "chroot %s /bin/bash -c 'cd /usr/src/linux ; make modules_in= stall'" % self._root) + subprocess.call(["cp", "-PR", "/lib/modules", self._root+"/lib"]= ) self._progress.set_fraction(1.0) =20 def _get_langpacks(self):