From patchwork Tue Aug 14 08:30:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Bader X-Patchwork-Id: 177187 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id D333E2C0092 for ; Tue, 14 Aug 2012 18:30:26 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T1CVu-0007mk-VJ; Tue, 14 Aug 2012 08:30:11 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T1CVs-0007md-Pv for kernel-team@lists.ubuntu.com; Tue, 14 Aug 2012 08:30:08 +0000 Received: from p5b2e2c3c.dip.t-dialin.net ([91.46.44.60] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1T1CVs-0002Sn-I4 for kernel-team@lists.ubuntu.com; Tue, 14 Aug 2012 08:30:08 +0000 From: Stefan Bader To: kernel-team@lists.ubuntu.com Subject: [Quantal] Enables getabis to use local package copies Date: Tue, 14 Aug 2012 10:30:07 +0200 Message-Id: <1344933007-5192-1-git-send-email-stefan.bader@canonical.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com This probably is something to let flow backwards. Though on the other hand it is more likely to be an issue with a devel tree not being uploaded to c-k-t. -Stefan From be6e8dd42326926e3f058577908718b2e2ba6ea6 Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Tue, 14 Aug 2012 10:26:18 +0200 Subject: [PATCH] UBUNTU: (config) Enable getabis to use local package copies If a package is not (yet) uploaded into the archive it will be possible to place a copy of the .deb into the home directory and it will get picked up. Signed-off-by: Stefan Bader --- debian/scripts/misc/getabis | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/scripts/misc/getabis b/debian/scripts/misc/getabis index c48199d..970c88f 100755 --- a/debian/scripts/misc/getabis +++ b/debian/scripts/misc/getabis @@ -47,6 +47,12 @@ getall() { for prefix in $__package_prefixes do filename=${prefix}-${verabi}-${sub}_${verfull}_${arch}.deb + + # Take local copy if it is there... + if [ -f $HOME/$filename ]; then + cp $HOME/$filename . + fi + for r in "${repo_list[@]}" do if ! [ -f $filename ]; then