[buildd-tools-devel] [PATCH 06/17] Fix for:

wookey at wookware.org wookey at wookware.org
Tue Dec 13 02:37:31 UTC 2011


From: Hector Oron <hector.oron at toby-churchill.com>

	$ sbuild -d sid-amd64-sbuild hello_2.6-1 --host=armel --build=amd64
	Chroot sid-amd64-sbuild for architecture amd64 not found

Signed-off-by: Hector Oron <hector.oron at toby-churchill.com>
---
 lib/Sbuild/ChrootInfo.pm |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/Sbuild/ChrootInfo.pm b/lib/Sbuild/ChrootInfo.pm
index a417a9a..bc16d1e 100644
--- a/lib/Sbuild/ChrootInfo.pm
+++ b/lib/Sbuild/ChrootInfo.pm
@@ -124,11 +124,11 @@ sub find {
             $chroot = "${namespace}:${distribution}";
 	}
 
-	if ($arch_set && !$arch_found && $host_arch ne "") {
-	    # TODO: Return error, rather than die.
-	    die "Chroot $distribution for architecture $host_arch not found\n";
-	    return undef;
-	}
+#	if ($arch_set && !$arch_found && $host_arch ne "") {
+#	    # TODO: Return error, rather than die.
+#	    die "Chroot $distribution for architecture $host_arch not found\n";
+#	    return undef;
+#	}
     }
 
     if (!$chroot) {
-- 
1.7.5.4




More information about the Buildd-tools-devel mailing list