Add set -ex to provisioning scripts for RHEL 6.6

Change-Id: I6e6e66cffcbd84af1e093176d65751063492122b
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Joni Jantti
2017-12-27 12:22:57 +02:00
committed by Tony Sarajärvi
parent 66595488f0
commit ca89bec297
7 changed files with 19 additions and 0 deletions

View File

@@ -2,5 +2,8 @@
# version: provided by RedHat
# needed for yum to work properly in case there is incorrect data in
# the sslclientkey repository parameter value
set -ex
sudo rm -f /etc/pki/entitlement/*
sudo subscription-manager refresh

View File

@@ -1,4 +1,7 @@
# provides: odbc devel packages on RHEL
# version: provided by default Linux distribution repository
# needed for configure -plugin-sql-odbc in qtbase
set -ex
sudo yum install -y unixODBC-devel

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
. $BASEDIR/../common/sw_versions.txt
VERSION=$libclang_version

View File

@@ -1,6 +1,9 @@
# provides: python development libraries
# version: provided by default Linux distribution repository
# needed to build pyside
set -ex
sudo yum install -y python-devel python-virtualenv
# install the EPEL repository which provides python3

View File

@@ -1 +1,3 @@
set -ex
$(dirname $0)/../common/cmake_linux.sh

View File

@@ -1,3 +1,6 @@
#!/bin/env bash
# Required for tqtc-boot2qt/qdb
set -ex
sudo yum install -y libusb1-devel

View File

@@ -36,6 +36,9 @@
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
# Storage installed RPM packages information
set -ex
echo "*********************************************" >> ~/versions.txt
echo "***** All installed RPM packages *****" >> ~/versions.txt
rpm -q -a | sort >> ~/versions.txt