]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils.sh: install deps for crimson flavor 1499/head
authorKefu Chai <kchai@redhat.com>
Fri, 7 Feb 2020 15:29:50 +0000 (23:29 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 7 Feb 2020 15:29:50 +0000 (23:29 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/build_utils.sh

index c2922c310c6fa0dac4905455df2dc467fcf981a5..e4d80c4768db66600a4626edbcdee944e3ece39a 100644 (file)
@@ -488,6 +488,11 @@ setup_pbuilder() {
         echo "$other_mirror" >> ~/.pbuilderrc
     fi
 
+    if [ $FLAVOR = "crimson" ]; then
+        extrapackages='EXTRAPACKAGES="libc-ares-dev libcrypto++-dev libgnutls28-dev libhwloc-dev libnuma-dev libpciaccess-dev libprotobuf-dev libsctp-dev libyaml-cpp-dev protobuf-compiler ragel systemtap-sdt-dev"'
+        echo "$extrapackages" >> ~/.pbuilderrc
+    fi
+
     if [ -n "$use_gcc" ]; then
         # Newer pbuilder versions set $HOME to /nonexistent which breaks all kinds of
         # things that rely on a proper (writable) path. Setting this to the system user's $HOME is not enough