public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-catalyst@gentoo.org
Subject: [gentoo-catalyst] [patch] update sparc.py's personality bin check
Date: Sun, 24 Dec 2006 06:32:09 -0500	[thread overview]
Message-ID: <200612240632.10235.vapier@gentoo.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 150 bytes --]

sparc no longer uses sparc32 / sparc-utils to change personalities on the 
fly ... rather it should use linux32 / setarch like everyone else
-mike

[-- Attachment #1.2: Type: application/pgp-signature, Size: 827 bytes --]

[-- Attachment #2: catalyst-sparc-setarch.patch --]
[-- Type: text/x-diff, Size: 898 bytes --]

Index: arch/sparc.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/catalyst/arch/sparc.py,v
retrieving revision 1.9
diff -u -p -r1.9 sparc.py
--- arch/sparc.py	2 Oct 2006 20:41:53 -0000	1.9
+++ arch/sparc.py	24 Dec 2006 11:30:39 -0000
@@ -9,9 +9,9 @@ class generic_sparc(builder.generic):
 		builder.generic.__init__(self,myspec)
 		self.settings["mainarch"]="sparc"
 		if self.settings["hostarch"]=="sparc64":
-			if not os.path.exists("/bin/sparc32"):
-				raise CatalystError,"required /bin/sparc32 executable not found (\"emerge sparc-utils\" to fix.)"
-			self.settings["CHROOT"]="/bin/sparc32 chroot"
+			if not os.path.exists("/bin/linux32"):
+				raise CatalystError,"required /bin/linux32 executable not found (\"emerge setarch\" to fix.)"
+			self.settings["CHROOT"]="linux32 chroot"
 		else:
 			self.settings["CHROOT"]="chroot"
 

             reply	other threads:[~2006-12-24 11:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-24 11:32 Mike Frysinger [this message]
2006-12-24 17:22 ` [gentoo-catalyst] [patch] update sparc.py's personality bin check Chris Gianelloni
2006-12-24 22:47   ` Mike Frysinger
2006-12-24 22:59   ` Mike Frysinger
2006-12-27 14:14     ` Chris Gianelloni
2006-12-27 15:06       ` Mike Frysinger
2006-12-27 18:10         ` Chris Gianelloni
2006-12-27 18:29           ` Mike Frysinger
2006-12-24 23:15   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200612240632.10235.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-catalyst@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox