mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-01 08:57:32 +08:00
Currently we are using different styles and amount of digits for the provisioning script prefixes. This change will unify them across the platforms. Also removes a couple of duplicate files. Task-number: QTQAINFRA-1668 Change-Id: I039777e7616bccc29c6a4ac55db13326ae8dc87c Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
14 lines
426 B
Bash
Executable File
14 lines
426 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
BASEDIR=$(dirname "$0")
|
|
source $BASEDIR/../common/network_test_server_ip.txt
|
|
|
|
sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlockerrc
|
|
|
|
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
|
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
|
echo "Set DISPLAY"
|
|
echo 'export DISPLAY=":0"' >> ~/.bashrc
|
|
|