From: Thomas Serlin Date: Fri, 11 Jan 2019 16:11:42 +0000 (-0500) Subject: nfs-ganesha: minor update tweak for build_deb X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=feead4aa7e80f7fed9505bd73424c458fe7e2476;p=ceph-build.git nfs-ganesha: minor update tweak for build_deb There are occasional problems with failures in "apt-get update" because of the yandex.ru mirror. This just tweaks the command so we don't fail when the mirror is not available. Similar to: https://github.com/ceph/ceph-build/pull/940/files Signed-off-by: Thomas Serlin --- diff --git a/nfs-ganesha/build/build_deb b/nfs-ganesha/build/build_deb index 27d876171..1e4fe194a 100644 --- a/nfs-ganesha/build/build_deb +++ b/nfs-ganesha/build/build_deb @@ -30,7 +30,7 @@ if [[ "$REPO_FOUND" -eq 0 ]]; then fi # We need this for system and to run the cmake -sudo apt-get update +sudo apt-get -y update -o Acquire::Languages=none || true # Normalize variables across rpm/deb builds NORMAL_DISTRO=$DISTRO