Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QgxRv-0002AD-56 for bitbake-devel@lists.openembedded.org; Wed, 13 Jul 2011 13:17:51 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p6DBDoIR028587; Wed, 13 Jul 2011 12:13:50 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28111-03; Wed, 13 Jul 2011 12:13:46 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p6DBDg2n028581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jul 2011 12:13:42 +0100 From: Richard Purdie To: Yu Ke In-Reply-To: <20229b88536b6696ff2d58ac702bbbd6b55a6ccf.1310547939.git.ke.yu@intel.com> References: <20229b88536b6696ff2d58ac702bbbd6b55a6ccf.1310547939.git.ke.yu@intel.com> Date: Wed, 13 Jul 2011 12:13:41 +0100 Message-ID: <1310555621.20015.1097.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Cc: bitbake-devel@lists.openembedded.org Subject: Re: [PATCH 1/1] fetcher2: retry mirror if upstream checksum mismatch X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2011 11:17:51 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2011-07-13 at 17:08 +0800, Yu Ke wrote: > This patch is for [YOCTO #1085] fix. > > If the upstream fails a checksum, retry from the MIRROR before giving up. > This will add more robust fetching if an upstream serves a bad file or webpage. > > fetching of distcc prior to the move from samba -> googlecode is a good example > of this. > > Signed-off-by: Yu Ke > --- > bitbake/lib/bb/fetch2/__init__.py | 31 ++++++++++++++++++++----------- > 1 files changed, 20 insertions(+), 11 deletions(-) Merged to master, thanks. Richard