diff mbox

0006-Fix-for.patch

Message ID 20111214180643.GT28260@dream.aleph1.co.uk
State Accepted
Headers show

Commit Message

Wookey Dec. 14, 2011, 6:06 p.m. UTC
From c7e7958d02c08bcd2cc826636c3a8c1b485581b0 Mon Sep 17 00:00:00 2001
From: Hector Oron <hector.oron@toby-churchill.com>
Date: Mon, 12 Dec 2011 19:21:28 +0000
Subject: [PATCH 06/17] Fix for:

	$ 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@toby-churchill.com>
---
 lib/Sbuild/ChrootInfo.pm |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
diff mbox

Patch

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) {