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 1QkPvT-0004NX-Mw for garchives@archives.gentoo.org; Sat, 23 Jul 2011 00:18:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2B0021C0BE; Sat, 23 Jul 2011 00:18:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 833D621C0BE for ; Sat, 23 Jul 2011 00:18:30 +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 BADB01B4020 for ; Sat, 23 Jul 2011 00:18:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id E54FB8003D for ; Sat, 23 Jul 2011 00:18:28 +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: <1b08d43d510060246ab104595005c643c3e3061d.wiktor@gentoo> Subject: [gentoo-commits] proj/anaconda:master commit in: iw/ X-VCS-Repository: proj/anaconda X-VCS-Files: iw/makeconf_gui.py X-VCS-Directories: iw/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: 1b08d43d510060246ab104595005c643c3e3061d Date: Sat, 23 Jul 2011 00:18:28 +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: cb73efc13fae9e365b0104417885c78b commit: 1b08d43d510060246ab104595005c643c3e3061d Author: wiktor w brodlo brodlo net> AuthorDate: Sat Jul 23 00:18:20 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Sat Jul 23 00:18:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3D1b08d43d iw/makeconf_gui.py: populate the -march combobox --- iw/makeconf_gui.py | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/iw/makeconf_gui.py b/iw/makeconf_gui.py index 1e51756..df6dc8e 100644 --- a/iw/makeconf_gui.py +++ b/iw/makeconf_gui.py @@ -44,6 +44,27 @@ class MakeconfWindow(InstallWindow): return None =20 def getScreen(self, anaconda): + if os.env["ANACONDA_PRODUCTARCH"] =3D=3D "x86": + marches =3D [ + "prescott", + "pentium-m", + "athlon-4", + "athlon-xp", + "athlon-mp", + "athlon", + "athlon-tbird", + "pentium4", + "pentium3", + "pentium2", + "k6-2", + "k6-3", + "k6", + "i686", + "pentiumpro", + ] + if os.env["ANACONDA_PRODUCTARCH"] =3D=3D "amd64": + marches =3D ["nocona", "k8", "opteron", "athlon64", "athlon-fx"] + =09 self.anaconda =3D anaconda self.intf =3D anaconda.intf =20 =20 @@ -55,6 +76,9 @@ class MakeconfWindow(InstallWindow): self.jobs =3D self.xml.get_widget("jobs") self.load =3D self.xml.get_widget("load") self.silent =3D self.xml.get_widget("silent") + =09 + for x in marches + self.march.append_text(x)=20 =20 # TODO: Get a list of arches available for this installation. =20