From: Boris Ranto Date: Wed, 21 Jun 2017 20:23:24 +0000 (+0200) Subject: cephmetrics: Use sudo for yum X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b52cd5c4e372da79686491d5e757b48412425063;p=ceph-build.git cephmetrics: Use sudo for yum Signed-off-by: Boris Ranto --- diff --git a/cephmetrics/build/build_rpm b/cephmetrics/build/build_rpm index 4bc91afc..632befb2 100644 --- a/cephmetrics/build/build_rpm +++ b/cephmetrics/build/build_rpm @@ -10,7 +10,7 @@ fi ## Install any setup-time deps (to make dist package) # We need this to get the major version from lsb_release -yum install -y redhat-lsb-core mock git +sudo yum install -y redhat-lsb-core mock git # Run the install-deps.sh upstream script if it exists if [ -x install-deps.sh ]; then