linux32 goodness
authorDaniel Robbins <drobbins@gentoo.org>
Thu, 6 Nov 2003 02:52:24 +0000 (02:52 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Thu, 6 Nov 2003 02:52:24 +0000 (02:52 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@54 d1e1f19c-881f-0410-ab34-b69fee027534

arch/x86.py

index e60d2ef8bd475eff3eb565e638a7a21ec05cc666..f85919c0fd9e01567c076447752774f9bc8a82ad 100644 (file)
@@ -13,7 +13,10 @@ class generic_x86(builder.generic):
        def __init__(self,myspec):
                builder.generic.__init__(self,myspec)
                self.settings["mainarch"]="x86"
-               self.settings["CHROOT"]="chroot"
+               if self.settings["hostarch"]=="amd64":
+                       self.settings["CHROOT"]="linux32 chroot"
+               else:
+                       self.settings["CHROOT"]="chroot"
 
 class arch_x86(generic_x86):
        "builder class for generic x86 (386+)"