[CRIU] [PATCH 2/3] dockerfile: download Packages.gz only once

Andrey Vagin avagin at openvz.org
Thu Feb 18 09:41:07 PST 2016


From: Andrew Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 scripts/build/extract-deb-pkg | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/build/extract-deb-pkg b/scripts/build/extract-deb-pkg
index dc9ac5f..8ccec37 100755
--- a/scripts/build/extract-deb-pkg
+++ b/scripts/build/extract-deb-pkg
@@ -3,7 +3,6 @@ set -e
 test -d $1 && exit
 mkdir $1
 cd $1
-curl http://mirror.yandex.ru/debian/dists/jessie/main/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'
 pkg=`curl http://mirror.yandex.ru/debian/dists/jessie/main/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'`
 wget "http://mirror.yandex.ru/debian/$pkg"
 pkg=`basename $pkg`
-- 
2.5.0



More information about the CRIU mailing list