summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorTony Sarajärvi <tony.sarajarvi@qt.io>2018-03-18 15:04:13 +0200
committerLiang Qi <liang.qi@qt.io>2018-03-20 12:38:13 +0000
commitf6d18ec9b3e6cc65b687810f39a570a0b39439cd (patch)
tree6faef70c1e0a3e7236ce4a0a13cb671c7268964e /coin
parenta6feaec2877d9089d9b9ba5c934b89a4de78de42 (diff)
Disable background update checks in RHEL 7.x
Change-Id: If17fd47850be8b3a59ded7e0a543c9160f92b84c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Diffstat (limited to 'coin')
-rwxr-xr-xcoin/provisioning/qtci-linux-RHEL-7.4-x86_64/02-enable-repos.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-linux-RHEL-7.4-x86_64/02-enable-repos.sh b/coin/provisioning/qtci-linux-RHEL-7.4-x86_64/02-enable-repos.sh
index cd0f3dc2..548cb9ca 100755
--- a/coin/provisioning/qtci-linux-RHEL-7.4-x86_64/02-enable-repos.sh
+++ b/coin/provisioning/qtci-linux-RHEL-7.4-x86_64/02-enable-repos.sh
@@ -35,6 +35,10 @@
set -ex
+echo "set WritePreparedUpdates=false" | sudo tee -a /etc/PackageKit/PackageKit.conf
+sudo systemctl stop packagekit
+sudo systemctl disable packagekit
+
sudo subscription-manager config --rhsm.manage_repos=0
sudo subscription-manager refresh