public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [patch] update sparc.py's personality bin check
@ 2006-12-24 11:32 Mike Frysinger
  2006-12-24 17:22 ` Chris Gianelloni
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2006-12-24 11:32 UTC (permalink / raw
  To: gentoo-catalyst


[-- 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"
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-12-27 18:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-24 11:32 [gentoo-catalyst] [patch] update sparc.py's personality bin check Mike Frysinger
2006-12-24 17:22 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox