From b24ec223d29accc8f712b775d943428de8b283b3 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Thu, 6 Nov 2003 02:53:28 +0000 Subject: [PATCH] linux32 fix git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@55 d1e1f19c-881f-0410-ab34-b69fee027534 --- arch/x86.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86.py b/arch/x86.py index f85919c0..0a8fe823 100644 --- a/arch/x86.py +++ b/arch/x86.py @@ -1,4 +1,4 @@ -import builder +import builder,os # This module defines the various "builder" classes for the various x86 # sub-arches. For example, we have a class to handle building of Pentium 4 @@ -14,6 +14,8 @@ class generic_x86(builder.generic): builder.generic.__init__(self,myspec) self.settings["mainarch"]="x86" if self.settings["hostarch"]=="amd64": + if not os.path.exists("/usr/bin/linux32"): + raise CatalystError,"required /usr/bin/linux32 executable not found (\"emerge linux32\" to fix.)" self.settings["CHROOT"]="linux32 chroot" else: self.settings["CHROOT"]="chroot" -- 2.26.2