From patchwork Wed Dec 14 18:06:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wookey X-Patchwork-Id: 5714 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0BD5523E0C for ; Wed, 14 Dec 2011 18:06:54 +0000 (UTC) Received: from mail-lpp01m010-f52.google.com (mail-lpp01m010-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id DE623A18058 for ; Wed, 14 Dec 2011 18:06:53 +0000 (UTC) Received: by lahj13 with SMTP id j13so779320lah.11 for ; Wed, 14 Dec 2011 10:06:53 -0800 (PST) Received: by 10.204.157.12 with SMTP id z12mr1758908bkw.18.1323886013346; Wed, 14 Dec 2011 10:06:53 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.129.2 with SMTP id hg2cs15697bkc; Wed, 14 Dec 2011 10:06:53 -0800 (PST) Received: by 10.180.92.164 with SMTP id cn4mr7031313wib.12.1323886011956; Wed, 14 Dec 2011 10:06:51 -0800 (PST) Received: from stoneboat.aleph1.co.uk (stoneboat.aleph1.co.uk. [80.68.88.63]) by mx.google.com with ESMTPS id m42si2086677weq.42.2011.12.14.10.06.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 10:06:51 -0800 (PST) Received-SPF: neutral (google.com: 80.68.88.63 is neither permitted nor denied by best guess record for domain of wookey@wookware.org) client-ip=80.68.88.63; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.68.88.63 is neither permitted nor denied by best guess record for domain of wookey@wookware.org) smtp.mail=wookey@wookware.org Received: from host-78-151-164-206.static.as13285.net ([78.151.164.206] helo=dream.aleph1.co.uk) by stoneboat.aleph1.co.uk with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RatE9-00066i-CE for patches@linaro.org; Wed, 14 Dec 2011 18:06:51 +0000 Received: from wookey by dream.aleph1.co.uk with local (Exim 4.72) (envelope-from ) id 1RatE3-0006Rg-EE for patches@linaro.org; Wed, 14 Dec 2011 18:06:43 +0000 Date: Wed, 14 Dec 2011 18:06:43 +0000 From: Wookey To: patches@linaro.org Message-ID: <20111214180643.GT28260@dream.aleph1.co.uk> MIME-Version: 1.0 Content-Disposition: inline Organization: Wookware User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: 78.151.164.206 X-SA-Exim-Mail-From: wookey@wookware.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on stoneboat.aleph1.co.uk X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.5 tests=AWL,BAYES_00 autolearn=no version=3.3.1 Subject: 0006-Fix-for.patch X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk) >From c7e7958d02c08bcd2cc826636c3a8c1b485581b0 Mon Sep 17 00:00:00 2001 From: Hector Oron 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 --- 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) {