bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject bigtop git commit: BIGTOP-2988: Incorrect use "dnf update" in puppetize.sh
Date Tue, 06 Feb 2018 20:28:35 GMT
Repository: bigtop
Updated Branches:
  refs/heads/master 0b3feb4fc -> c6aad207f


BIGTOP-2988: Incorrect use "dnf update" in puppetize.sh

The cmd "dnf -y update" is not correctly used as the
purpose here is to "synchronize the package index
files from their sources".
For this purpose the cmd should be "dnf check-update"

Change-Id: I9ed7b7b631f5fabc00a4ef679d30a68f5c68b539
Signed-off-by: Jun He <jun.he@linaro.org>
Signed-off-by: Olaf Flebbe <of@oflebbe.de>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/c6aad207
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/c6aad207
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/c6aad207

Branch: refs/heads/master
Commit: c6aad207fb590e3a71d241104338bd61a0a2abc7
Parents: 0b3feb4
Author: Jun He <jun.he@linaro.org>
Authored: Thu Feb 1 17:56:33 2018 +0800
Committer: Olaf Flebbe <of@oflebbe.de>
Committed: Tue Feb 6 21:28:09 2018 +0100

----------------------------------------------------------------------
 bigtop_toolchain/bin/puppetize.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/c6aad207/bigtop_toolchain/bin/puppetize.sh
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh
index a3f447a..ab5e5a9 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -23,7 +23,7 @@ fi
 case ${ID}-${VERSION_ID} in
     fedora-26)
       dnf -y install yum-utils
-      dnf -y update
+      dnf -y check-update
       dnf -y install hostname findutils curl sudo unzip wget puppet puppetlabs-stdlib
         ;;
     ubuntu-16.04)


Mime
View raw message