]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps: set DEBIAN_FRONTEND for apt-get
authorKefu Chai <kchai@redhat.com>
Wed, 18 Jul 2018 02:28:03 +0000 (10:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 18 Jul 2018 02:28:08 +0000 (10:28 +0800)
so it won't complain if the tty is not an interactive one.

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh

index a02fd61b812e8bd5c854e8f29ed810f1a71ac9ec..ebc5728024b32d751e41807881c6b18f96d2d99d 100755 (executable)
@@ -31,7 +31,7 @@ fi
 
 function install_seastar_deps {
     if $with_seastar; then
-        $SUDO apt-get install -y \
+        $SUDO env DEBIAN_FRONTEND=noninteractive apt-get install -y \
               ragel libhwloc-dev libnuma-dev libpciaccess-dev \
               libcrypto++-dev libgnutls28-dev libsctp-dev libprotobuf-dev \
               protobuf-compiler systemtap-sdt-dev libyaml-cpp-dev