]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: avoid re-installing g++-7
authorKefu Chai <kchai@redhat.com>
Wed, 13 Dec 2017 06:22:39 +0000 (14:22 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Dec 2017 11:11:52 +0000 (19:11 +0800)
commiteba0fca4f63fd02f0dfbf781f3ec667dca2c799a
tree3767596855f4812d04e0f5710cd5534056ea5d2a
parentacfc351095f568234ca3ae2b875d999dfaf3d5ba
install-deps.sh: avoid re-installing g++-7

* add ubuntu-toolchain-r mirrors in case the ppa.launchpad.net is not
  accessible
* add ppa repo manually, it's faster than installing
  `software-properties-common` and then launch `add-apt-repository`
* hardwire $old to the gcc version shipped by the distro, simpler this
  way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit b69e3efe64159417b2c80894ba5c249eb470d80a)
install-deps.sh