mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-10 04:58:08 +08:00
Provisioning: Replace SLES-15 with SLES-15 SP2
Task-number: QTQAINFRA-3921 Change-Id: I325a4b8f272dda80168aed1389e647bbd525b10f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -29,7 +29,7 @@ Configurations:
|
|||||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
|
||||||
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-SLES-15-x86_64'
|
Template: 'qtci-linux-SLES-15_SP2-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'DisableTests']
|
Features: ['Sccache', 'DisableTests']
|
||||||
Configure arguments: '-DBUILD_EXAMPLES=OFF -FEATURE_developer_build=ON -DBUILD_WITH_PCH=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
Configure arguments: '-DBUILD_EXAMPLES=OFF -FEATURE_developer_build=ON -DBUILD_WITH_PCH=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ Configurations:
|
|||||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -static -nomake tests -nomake examples -no-sql-mysql -no-pch -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-feature-thread -xplatform wasm-emscripten'
|
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -static -nomake tests -nomake examples -no-sql-mysql -no-pch -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-feature-thread -xplatform wasm-emscripten'
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-SLES-15-x86_64'
|
Template: 'qtci-linux-SLES-15_SP2-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
### SUSE Linux Enterprise Desktop 15 SP2 ###
|
||||||
|
|
||||||
|
Language: English (US)
|
||||||
|
Keyboard Layout: English (US)
|
||||||
|
|
||||||
|
Available Extensions and Modules:
|
||||||
|
Basesystem Module
|
||||||
|
Desktop Applications Module
|
||||||
|
Python 2 Module
|
||||||
|
|
||||||
|
Gnome Desktop (X11)
|
||||||
|
|
||||||
|
Resolution 1280x800
|
||||||
|
|
||||||
|
# Settings
|
||||||
|
Notification Popups - disabled
|
||||||
|
LockScreen Notifications - disabled
|
||||||
|
|
||||||
|
# Privacy
|
||||||
|
Screen Lock - Off
|
||||||
|
|
||||||
|
# Power
|
||||||
|
Power Saving - Blank Screen - never
|
||||||
|
|
||||||
|
# Add user to sudoers
|
||||||
|
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||||
|
|
||||||
|
# Fetch and run coin-setup
|
||||||
|
Download http://coin/coin/binary/linux_386/coin-setup
|
||||||
|
sudo ./coin-setup
|
||||||
|
|
||||||
|
# Add support for virtio driver
|
||||||
|
sudo echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||||
|
sudo dracut -f
|
||||||
|
|
||||||
|
# Add these to '/etc/polkit-default-privs.local'
|
||||||
|
org.freedesktop.udisks2.filesystem-mount yes
|
||||||
|
org.freedesktop.udisks2.filesystem-mount-other-seat yes
|
||||||
|
org.freedesktop.udisks2.filesystem-mount-system yes
|
||||||
|
org.freedesktop.login1.power-off yes
|
||||||
|
org.freedesktop.login1.power-off-ignore-inhibit yes
|
||||||
|
org.freedesktop.login1.power-off-multiple-sessions yes
|
||||||
|
|
||||||
|
# Register product
|
||||||
|
# Add 'Available Extensions and Modules'
|
||||||
|
* Basesystem Module 15 SP2 x86_64
|
||||||
|
* Server Applications Module 15 SP2 x86_64
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2020 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -70,7 +70,11 @@ zip="/tmp/libclang.7z"
|
|||||||
destination="/usr/local/libclang-$version"
|
destination="/usr/local/libclang-$version"
|
||||||
|
|
||||||
DownloadURL $url_cached $url $sha1 $zip
|
DownloadURL $url_cached $url $sha1 $zip
|
||||||
sudo 7z x $zip -o/usr/local/
|
if command -v 7zr &> /dev/null; then
|
||||||
|
sudo 7zr x $zip -o/usr/local/
|
||||||
|
else
|
||||||
|
sudo 7z x $zip -o/usr/local/
|
||||||
|
fi
|
||||||
sudo mv /usr/local/libclang "$destination"
|
sudo mv /usr/local/libclang "$destination"
|
||||||
rm -rf $zip
|
rm -rf $zip
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# this script will remove executable rights from cron.daily jobs
|
|
||||||
sudo chmod -x /etc/cron.daily/*
|
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/install-openssl.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "linux"
|
|
||||||
10
coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-enable-modules.sh
Executable file
10
coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-enable-modules.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Activate these modules
|
||||||
|
# Note! Modules'Server Applications Module 15 SP2 x86_64' & 'Server Applications Module 15 SP2 x86_64' were enabled during registrarion phase
|
||||||
|
sudo SUSEConnect -p sle-module-desktop-applications/15.2/x86_64
|
||||||
|
sudo SUSEConnect -p sle-module-development-tools/15.2/x86_64
|
||||||
|
sudo SUSEConnect --product sle-module-python2/15.2/x86_64
|
||||||
|
|
||||||
Reference in New Issue
Block a user