FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 08-14-2012, 08:26 AM
Stefan Bader
 
Default 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 <stefan.bader@canonical.com>
---
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
--
1.7.9.5


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 08-14-2012, 08:26 AM
Stefan Bader
 
Default 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.
This was one option of the external getabis script and surprisingly
was actually used.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
debian/scripts/misc/getabis | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/debian/scripts/misc/getabis b/debian/scripts/misc/getabis
index c48199d..82f67a0 100755
--- a/debian/scripts/misc/getabis
+++ b/debian/scripts/misc/getabis
@@ -47,6 +47,13 @@ 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
+ echo -n "Locally!..."
+ cp $HOME/$filename .
+ fi
+
for r in "${repo_list[@]}"
do
if ! [ -f $filename ]; then
--
1.7.9.5


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 07:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org