mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 17:56:11 +08:00
RHEL 8.8 will be added as parallel with RHEL 8.6 until packaging site gives green light to remove the older Red Hat version. Removing also some obsolete package installations. Task-number: QTQAINFRA-5600 Change-Id: Ie77500a805a89db9019b5347539e662bc016af59 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
30 lines
1002 B
Bash
30 lines
1002 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (C) 2023 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
set -ex
|
|
|
|
BASEDIR=$(dirname "$0")
|
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
|
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
|
|
|
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
|
|
# for current session
|
|
export DISPLAY=:0
|
|
|
|
# Set timezone to UTC.
|
|
sudo timedatectl set-timezone Etc/UTC
|
|
# disable Automatic screen lock
|
|
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
# disable blank screen power saving
|
|
gsettings set org.gnome.desktop.session idle-delay 0
|
|
|
|
# Set Wayland enable as false.
|
|
echo "Setting Wayland enable as false"
|
|
sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/g' /etc/gdm/custom.conf
|
|
|