]> git.wh0rd.org - patches.git/blob - catalyst-sparc-setarch.patch
more random patches. who knows.
[patches.git] / catalyst-sparc-setarch.patch
1 Index: arch/sparc.py
2 ===================================================================
3 RCS file: /var/cvsroot/gentoo/src/catalyst/arch/sparc.py,v
4 retrieving revision 1.9
5 diff -u -p -r1.9 sparc.py
6 --- arch/sparc.py 2 Oct 2006 20:41:53 -0000 1.9
7 +++ arch/sparc.py 24 Dec 2006 11:30:39 -0000
8 @@ -9,9 +9,9 @@ class generic_sparc(builder.generic):
9 builder.generic.__init__(self,myspec)
10 self.settings["mainarch"]="sparc"
11 if self.settings["hostarch"]=="sparc64":
12 - if not os.path.exists("/bin/sparc32"):
13 - raise CatalystError,"required /bin/sparc32 executable not found (\"emerge sparc-utils\" to fix.)"
14 - self.settings["CHROOT"]="/bin/sparc32 chroot"
15 + if not os.path.exists("/bin/linux32"):
16 + raise CatalystError,"required /bin/linux32 executable not found (\"emerge setarch\" to fix.)"
17 + self.settings["CHROOT"]="linux32 chroot"
18 else:
19 self.settings["CHROOT"]="chroot"
20