]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils: should not use "sudo" in pbuilder hook script 1078/head
authorKefu Chai <kchai@redhat.com>
Thu, 12 Jul 2018 13:15:10 +0000 (21:15 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Jul 2018 13:15:10 +0000 (21:15 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/build_utils.sh

index 27cb4ccc4f55989df8a631eaf380deb7fe9ee77f..2d23af1ccf674d6f144acb6b3926f4ed7149194b 100644 (file)
@@ -548,7 +548,7 @@ EOF
         exit 1
     fi
 cat >> $hookdir/D05install-gcc-7 <<EOF
-cat << ENDOFKEY | sudo apt-key add -
+cat << ENDOFKEY | apt-key add -
 -----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: SKS 1.1.6
 Comment: Hostname: keyserver.ubuntu.com