summaryrefslogtreecommitdiffstats
path: root/ci/utility/intel_cmt_cat_build_install_rpm.sh
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2017-12-01 13:52:19 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-12-01 13:52:19 +0000
commit7ec62849783cae0ad9ee9c7a25fc274a75a05575 (patch)
tree5d7694d8c44b8e603ec721c3e9e6a19313275738 /ci/utility/intel_cmt_cat_build_install_rpm.sh
parenta74412c2c67815d4a42122607d3c6403f5f645ef (diff)
ci: fix RDT missing package in nightly build
Change-Id: I0c3d750b798a210cade2cffc73da4620843b6932 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'ci/utility/intel_cmt_cat_build_install_rpm.sh')
-rwxr-xr-xci/utility/intel_cmt_cat_build_install_rpm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/utility/intel_cmt_cat_build_install_rpm.sh b/ci/utility/intel_cmt_cat_build_install_rpm.sh
index a04d0a08..ba6bec07 100755
--- a/ci/utility/intel_cmt_cat_build_install_rpm.sh
+++ b/ci/utility/intel_cmt_cat_build_install_rpm.sh
@@ -22,14 +22,14 @@ bash $DIR/check_git_repo.sh $CMTCAT_DIR $CMTCAT_REPO
if [[ $? != 0 ]]
then
rm -rf $CMTCAT_DIR
- git clone --branch $CMTCAT_BRANCH $CMTCAT_REPO $CMTCAT_DIR
+ git clone $CMTCAT_REPO $CMTCAT_DIR
else
cd $CMTCAT_DIR
git reset HEAD --hard
git pull
- git checkout -f $CMTCAT_BRANCH
fi
cd $CMTCAT_DIR
+git checkout -b intel_rdt $CMTCAT_BRANCH
wget https://github.com/01org/intel-cmt-cat/archive/${VERSION}.tar.gz --directory-prefix=$CMTCAT_DIR
mv $CMTCAT_DIR/${VERSION}.tar.gz $RPM_WORKDIR/SOURCES/
rpmbuild --define "_topdir $RPM_WORKDIR" -bb $CMTCAT_DIR/rpm/intel-cmt-cat.spec