]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils.sh: install gnupg
authorKefu Chai <kchai@redhat.com>
Thu, 13 Jun 2019 10:01:26 +0000 (18:01 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 17 Jun 2019 07:32:24 +0000 (15:32 +0800)
so that `apt-key add -` can import the pubkey

Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/build_utils.sh

index b5a40a5be195b8e9457230947fa7952ada395abd..5fcf6fa58e4f583a2a47a42b27c5620ab5c5b5e1 100644 (file)
@@ -562,6 +562,7 @@ EOF
         exit 1
     fi
 cat >> $hookdir/D05install-gcc-7 <<EOF
+env DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg
 cat << ENDOFKEY | apt-key add -
 -----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: SKS 1.1.6