]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
script/build_utils.sh: don't fail if any mirror is not accessible 940/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 15 Dec 2017 08:38:44 +0000 (16:38 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Dec 2017 15:12:23 +0000 (23:12 +0800)
also prevent apt-get from downloading i18n index

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
scripts/build_utils.sh

index 2c4f7f1bacd3fda5cd562d304bb34a86053d6196..82e3b202132507c31d8cb322c563e7dbd70d4146 100644 (file)
@@ -459,7 +459,7 @@ echo deb http://mirror.yandex.ru/mirrors/launchpad/ubuntu-toolchain-r $DIST main
   /etc/apt/sources.list.d/ubuntu-toolchain-r.list
 # import PPA's signing key into APT's keyring
 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
-apt-get update
+apt-get -y update -o Acquire::Languages=none || true
 apt-get install -y g++-7
 EOF