From patchwork Thu Oct 18 13:10:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Milo Casagrande X-Patchwork-Id: 12341 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 57FA123DE2 for ; Thu, 18 Oct 2012 13:19:41 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0281FA18B68 for ; Thu, 18 Oct 2012 13:19:40 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so13198548iej.11 for ; Thu, 18 Oct 2012 06:19:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=UwvfXimy0Ylb36XKy9RnEU88JFyw2yqP4ybcwGCNFoI=; b=mbn4KsSszPXX4Oowssb8vgrPXlNzGuAiFYDITz0i33m0nHYgnMSb+giC3aQgIHz0/a TwOl5F4Ovd+oFyKg7mK/C+TmrG/h7Eree6aAjcYRSb4LMaIhNxAzQstemqtYOKy+wt7B ZtAbdKuxOMg2BDJtctpcAnenhxMBa9vevpK7ueqdn7QfCJiTz7CNRWr26lTiQriXd9n/ G7iB7OHkeg/ZlSu60r+WYSzfROfCpBbJYNDop5Dfn6HPT1nK9h80JslPz92BEqqA3zPK VycrBtQFwgxoQfegDiyzkgdY1TUuRiN9yzThezMqTBE7o/v9cwszcMtOkCpFg7ItlUsi /4pA== Received: by 10.50.168.37 with SMTP id zt5mr4658729igb.57.1350566380372; Thu, 18 Oct 2012 06:19:40 -0700 (PDT) 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.50.67.148 with SMTP id n20csp1070732igt; Thu, 18 Oct 2012 06:19:39 -0700 (PDT) Received: by 10.180.100.101 with SMTP id ex5mr11336886wib.16.1350566379055; Thu, 18 Oct 2012 06:19:39 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id v28si27434197weo.112.2012.10.18.06.19.38 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 06:19:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TOq0f-00086U-NQ for ; Thu, 18 Oct 2012 13:19:37 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 4E79DE1904 for ; Thu, 18 Oct 2012 13:10:16 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 580 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 580: Workaroun IOError in test case. Message-Id: <20121018131016.18252.75035.launchpad@ackee.canonical.com> Date: Thu, 18 Oct 2012 13:10:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16160"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 4050517b49216ba102cec4a46f669a923b85a126 X-Gm-Message-State: ALoCoQmxT9aakgnpLbRjyXPycMRc93G6wciVmtHpFykhxFqJJOLEemvHQrqZBuozkqSTUPXzG/A9 ------------------------------------------------------------ revno: 580 fixes bug: https://launchpad.net/bugs/1067786 author: Fathi Boudra committer: Milo Casagrande branch nick: trunk timestamp: Thu 2012-10-18 15:09:21 +0200 message: Workaroun IOError in test case. modified: linaro_image_tools/hwpack/builder.py --- lp:linaro-image-tools https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk You are subscribed to branch lp:linaro-image-tools. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro_image_tools/hwpack/builder.py' --- linaro_image_tools/hwpack/builder.py 2012-10-17 16:04:35 +0000 +++ linaro_image_tools/hwpack/builder.py 2012-10-18 13:09:21 +0000 @@ -370,6 +370,11 @@ build_info_available = 0 for deb_pkg in self.packages: deb_pkg_file_path = deb_pkg.filepath + # FIXME: test deb_pkg_dir to work around + # https://bugs.launchpad.net/bugs/1067786 + deb_pkg_dir = os.path.dirname(deb_pkg_file_path) + if deb_pkg_dir != cache_dir: + continue if os.path.islink(deb_pkg_file_path): # Skip symlink-ed debian package file # e.g. fetched package with dummy information