You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2018/02/06 20:28:35 UTC

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

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 <ju...@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 <ju...@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)