mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-02 01:17:33 +08:00
Remove Ubuntu 16.04 from the CI
This one also removes the provisioning scripts for both x64 and x86 envs. Task-number: QTQAINFRA-2182 Change-Id: I56f109e4600f46a4d11de8d2dbdcdcd08cb896f3 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -7,7 +7,6 @@ qtci-windows-10-x86_64-10 MSVC2015
|
|||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples
|
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 GCC NoWidgets ForceDebugInfo
|
qtci-linux-Ubuntu-18.04-x86_64 GCC NoWidgets ForceDebugInfo
|
||||||
qtci-linux-Ubuntu-18.04-x86_64 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
qtci-linux-Ubuntu-18.04-x86_64 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||||
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/disable-cracklib.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/disable-cracklib.sh"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
# shellcheck source=../common/linux/disable-mlocate.sh
|
|
||||||
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/remove_update-manager.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/remove_update-manager.sh"
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script modifies system settings for automated use
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
|
||||||
|
|
||||||
NTS_IP=10.212.2.216
|
|
||||||
|
|
||||||
echo "Set timezone to UTC."
|
|
||||||
sudo timedatectl set-timezone Etc/UTC
|
|
||||||
echo "Timeout for blanking the screen (0 = never)"
|
|
||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
||||||
echo "Disable questions on shutdown."
|
|
||||||
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
|
|
||||||
|
|
||||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
|
||||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
|
||||||
|
|
||||||
if [ "$proxy" != "" ]; then
|
|
||||||
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
|
||||||
fi
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# Install required packages with APT
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
echo "Disabling auto update"
|
|
||||||
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
|
|
||||||
for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
|
|
||||||
sudo systemctl stop $service
|
|
||||||
sudo systemctl disable $service
|
|
||||||
done
|
|
||||||
|
|
||||||
installPackages+=(git)
|
|
||||||
installPackages+=(p7zip-full)
|
|
||||||
installPackages+=(expect)
|
|
||||||
|
|
||||||
echo "Running update for apt"
|
|
||||||
sudo apt-get update
|
|
||||||
echo "Installing packages"
|
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/unix/squishInstall.sh"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/disable-cracklib.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/disable-cracklib.sh"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
# shellcheck source=../common/linux/disable-mlocate.sh
|
|
||||||
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/remove_update-manager.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/remove_update-manager.sh"
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script modifies system settings for automated use
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
|
||||||
|
|
||||||
NTS_IP=10.212.2.216
|
|
||||||
|
|
||||||
echo "Set timezone to UTC."
|
|
||||||
sudo timedatectl set-timezone Etc/UTC
|
|
||||||
echo "Timeout for blanking the screen (0 = never)"
|
|
||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
||||||
echo "Disable questions on shutdown."
|
|
||||||
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
|
|
||||||
echo "Set grub timeout to 0"
|
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
|
||||||
sudo update-grub
|
|
||||||
|
|
||||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
|
||||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
|
||||||
|
|
||||||
if [ "$http_proxy" != "" ]; then
|
|
||||||
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This won't be needed for Ubuntu 17 and above, see QTBUG-67757.
|
|
||||||
sudo sed -i '/-UnityDecoration-extents/c\ -UnityDecoration-extents: 0 0 0 0;' /usr/share/themes/Ambiance/gtk-3.0/apps/unity.css
|
|
||||||
@@ -1,180 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# Install required packages with APT
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
echo "Disabling auto update"
|
|
||||||
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
|
|
||||||
for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
|
|
||||||
sudo systemctl stop $service
|
|
||||||
sudo systemctl disable $service
|
|
||||||
done
|
|
||||||
|
|
||||||
# aptdaemon is used by update notifiers and similar and there is no point in having those (the symptom is aptd holding a lock)
|
|
||||||
for i in `seq 10`; do
|
|
||||||
echo attempting to remove aptdaemon
|
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y remove aptdaemon || true
|
|
||||||
# check that aptdaemon is no longer installed
|
|
||||||
which aptd > /dev/null || break
|
|
||||||
if [[ $i -eq 10 ]]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
sleep 10
|
|
||||||
done
|
|
||||||
|
|
||||||
# Git is not needed by builds themselves, but is nice to have
|
|
||||||
# immediately as one starts debugging
|
|
||||||
installPackages+=(git)
|
|
||||||
# 7zip is a needed decompressing tool
|
|
||||||
installPackages+=(p7zip-full)
|
|
||||||
# To be able to mount yocto-cache during builds
|
|
||||||
installPackages+=(nfs-common)
|
|
||||||
# libssl-dev provides headers for OpenSSL
|
|
||||||
installPackages+=(libssl-dev)
|
|
||||||
# Needed libraries for X11 support accordingly to https://wiki.qt.io/Building_Qt_5_from_Git
|
|
||||||
installPackages+=("^libxcb.*")
|
|
||||||
installPackages+=(libxkbcommon-dev)
|
|
||||||
installPackages+=(libxkbcommon-x11-dev)
|
|
||||||
installPackages+=(libx11-xcb-dev)
|
|
||||||
installPackages+=(libglu1-mesa-dev)
|
|
||||||
installPackages+=(libxrender-dev)
|
|
||||||
installPackages+=(libxi-dev)
|
|
||||||
# Enable linking to system dbus
|
|
||||||
installPackages+=(libdbus-1-dev)
|
|
||||||
# Needed libraries for WebEngine
|
|
||||||
installPackages+=(libudev-dev)
|
|
||||||
installPackages+=(libegl1-mesa-dev)
|
|
||||||
installPackages+=(libfontconfig1-dev)
|
|
||||||
installPackages+=(libxss-dev)
|
|
||||||
# Common event loop handling
|
|
||||||
installPackages+=(libglib2.0-dev)
|
|
||||||
# MySQL support
|
|
||||||
installPackages+=(libmysqlclient-dev)
|
|
||||||
# PostgreSQL support
|
|
||||||
installPackages+=(libpq-dev)
|
|
||||||
# SQLite support
|
|
||||||
installPackages+=(libsqlite3-dev)
|
|
||||||
# ODBC support
|
|
||||||
installPackages+=(unixodbc-dev)
|
|
||||||
# Support for FreeType font engine
|
|
||||||
installPackages+=(libfreetype6-dev)
|
|
||||||
# Enable the usage of system jpeg libraries
|
|
||||||
installPackages+=(libjpeg-dev)
|
|
||||||
# Enable support for printer driver
|
|
||||||
installPackages+=(libcups2-dev)
|
|
||||||
# Install libraries needed for QtMultimedia to be able to support all plugins
|
|
||||||
installPackages+=(libasound2-dev)
|
|
||||||
installPackages+=(libgstreamer1.0-dev)
|
|
||||||
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
|
||||||
installPackages+=(libgstreamer-plugins-good1.0-dev)
|
|
||||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
|
||||||
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
|
|
||||||
installPackages+=(g++-multilib)
|
|
||||||
# python2 development package
|
|
||||||
installPackages+=(python-pip)
|
|
||||||
# python3 development package
|
|
||||||
installPackages+=(python3-dev)
|
|
||||||
installPackages+=(python3-pip)
|
|
||||||
installPackages+=(python3-virtualenv)
|
|
||||||
installPackages+=(python3-wheel)
|
|
||||||
# Needed to be able to build Yocto
|
|
||||||
installPackages+=(chrpath)
|
|
||||||
installPackages+=(gawk)
|
|
||||||
installPackages+=(texinfo)
|
|
||||||
# Automates interactive applications (Needed by RTA to automate configure testing)
|
|
||||||
installPackages+=(expect)
|
|
||||||
installPackages+=(mesa-common-dev)
|
|
||||||
installPackages+=(libgl1-mesa-glx)
|
|
||||||
installPackages+=(libgl1-mesa-dev)
|
|
||||||
installPackages+=(libegl1-mesa-dev)
|
|
||||||
installPackages+=(curl)
|
|
||||||
installPackages+=(libicu-dev)
|
|
||||||
installPackages+=(zlib1g-dev)
|
|
||||||
installPackages+=(zlib1g)
|
|
||||||
installPackages+=(zlib1g:i386)
|
|
||||||
installPackages+=(openjdk-8-jdk)
|
|
||||||
installPackages+=(libgtk-3-dev)
|
|
||||||
installPackages+=(ninja-build)
|
|
||||||
installPackages+=(libssl-dev)
|
|
||||||
installPackages+=(libxcursor-dev)
|
|
||||||
installPackages+=(libxcomposite-dev)
|
|
||||||
installPackages+=(libxdamage-dev)
|
|
||||||
installPackages+=(libxrandr-dev)
|
|
||||||
installPackages+=(libfontconfig1-dev)
|
|
||||||
installPackages+=(libxss-dev)
|
|
||||||
installPackages+=(libsrtp0-dev)
|
|
||||||
installPackages+=(libwebp-dev)
|
|
||||||
installPackages+=(libjsoncpp-dev)
|
|
||||||
installPackages+=(libopus-dev)
|
|
||||||
installPackages+=(libminizip-dev)
|
|
||||||
installPackages+=(libavutil-dev)
|
|
||||||
installPackages+=(libavformat-dev)
|
|
||||||
installPackages+=(libavcodec-dev)
|
|
||||||
installPackages+=(libevent-dev)
|
|
||||||
installPackages+=(bison)
|
|
||||||
installPackages+=(flex)
|
|
||||||
installPackages+=(gperf)
|
|
||||||
installPackages+=(libasound2-dev)
|
|
||||||
installPackages+=(libpulse-dev)
|
|
||||||
installPackages+=(libxtst-dev)
|
|
||||||
installPackages+=(libnspr4-dev)
|
|
||||||
installPackages+=(libnss3-dev)
|
|
||||||
installPackages+=(libopenal-dev)
|
|
||||||
installPackages+=(libbluetooth-dev)
|
|
||||||
#VirtualBox for RTA
|
|
||||||
installPackages+=(virtualbox)
|
|
||||||
installPackages+=(dkms)
|
|
||||||
#Pypdf for QSR documentation
|
|
||||||
installPackages+=(python-pypdf2)
|
|
||||||
|
|
||||||
echo "Running update for apt"
|
|
||||||
sudo apt-get update
|
|
||||||
echo "Installing packages"
|
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
|
||||||
|
|
||||||
# Install all needed packages in a special wheel cache directory
|
|
||||||
pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
|
||||||
|
|
||||||
sudo tee "/etc/apt/sources.list" > /dev/null <<-EOC
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial main restricted universe multiverse
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-updates main restricted universe multiverse
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-backports main restricted universe
|
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-security main restricted universe multiverse
|
|
||||||
EOC
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2018 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# Install Git Large File Storage
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
sudo apt-add-repository 'deb https://packagecloud.io/github/git-lfs/ubuntu/ xenial main'
|
|
||||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 37BBEE3F7AD95B3F
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install git-lfs
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
# shellcheck source=../common/unix/libclang.sh
|
|
||||||
"$BASEDIR/../common/unix/libclang.sh"
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
$BASEDIR/../common/linux/fbx_linux.sh
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
$BASEDIR/../common/linux/cmake_linux.sh
|
|
||||||
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
#!/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/open62541.sh"
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
#!/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2018 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/qnx_660.sh"
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
#!/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/qnx_700.sh"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
$BASEDIR/../common/linux/docker.sh
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
$BASEDIR/../common/unix/squishInstall.sh
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user