]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
buildpackages: discard google-perftools on trusty aarch64
authorLoic Dachary <ldachary@redhat.com>
Thu, 7 Apr 2016 06:28:53 +0000 (08:28 +0200)
committerLoic Dachary <ldachary@redhat.com>
Thu, 7 Apr 2016 13:36:22 +0000 (15:36 +0200)
Signed-off-by: Loic Dachary <loic@dachary.org>
tasks/buildpackages/common.sh

index 9286643d8e0604a4b45139fc2ad600029ef9438e..eb9bc646678535121c46d999a54e50f1329ecd79 100644 (file)
 #
 function install_deps() {
     git archive --remote=git://git.ceph.com/ceph.git master install-deps.sh | tar -xvf -
+    #
+    # drop the following hack when trusty is not supported anymore
+    # there is no other way as long as we maintain a debian directory that tries
+    # to be the same for all distributions
+    #
+    if grep --quiet 14.04 /etc/issue 2>/dev/null && sudo apt-get install --force-yes -qq -y dpkg-dev && test "$(dpkg-architecture -qDEB_BUILD_GNU_CPU 2>/dev/null)" = aarch64 ; then
+        sed -i -e '/libgoogle-perftools-dev/d' debian/control
+    fi
     bash -x install-deps.sh
 }