From cde33f13ed28278a395baf01714aebec15e861ff Mon Sep 17 00:00:00 2001 From: Terry Wang Date: Fri, 25 Jul 2014 21:08:20 +1000 Subject: [PATCH] kpatch-build: use close archive mirror for Ubuntu for speed --- kpatch-build/kpatch-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index 3929035..43169fb 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -339,7 +339,9 @@ else if [[ $DISTRO = ubuntu ]]; then # url may be changed for a different mirror - url="http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux" + # list of official archive mirrors for Ubuntu -> https://launchpad.net/ubuntu/+archivemirrors + # update the url below to use a close mirror otherwise wait for hours ;-) + url="http://archive.ubuntu.com/ubuntu/pool/main/l/linux" extension="bz2" sublevel="SUBLEVEL = 0" taroptions="xvjf"