]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
nfs-ganesha: minor update tweak for build_deb
authorThomas Serlin <tserlin@redhat.com>
Fri, 11 Jan 2019 16:11:42 +0000 (11:11 -0500)
committerThomas Serlin <tserlin@redhat.com>
Fri, 11 Jan 2019 16:15:49 +0000 (11:15 -0500)
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 <tserlin@redhat.com>
nfs-ganesha/build/build_deb

index 27d876171afb73cd5ba1104ee8f599f56dbe5c7c..1e4fe194a334ffe9478a5dc08b6d742aef7bfbcb 100644 (file)
@@ -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