mirror of https://github.com/qt/qt5.git
Provisioning: Take repo-clones-apt into use in Ubuntu 24.04
Pick-to: 6.9 6.8
Task-number: QTQAINFRA-6297
Change-Id: I7d9b3edc2b2429361e421ce13b5c36f4247693f6
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 13487118df
)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
7394584ab5
commit
c25feffb9b
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2025 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
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
# Install required packages with APT
|
# Install required packages with APT
|
||||||
|
@ -20,15 +20,14 @@ function set_internal_repo {
|
||||||
sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
|
sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
|
||||||
|
|
||||||
sudo tee "/etc/apt/sources.list.d/ubuntu.list" > /dev/null <<-EOC
|
sudo tee "/etc/apt/sources.list.d/ubuntu.list" > /dev/null <<-EOC
|
||||||
deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble main restricted universe multiverse
|
deb [trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-arm64 main restricted universe multiverse
|
||||||
deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-updates main restricted universe multiverse
|
deb [trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-updates-arm64 main restricted universe multiverse
|
||||||
deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-backports main restricted universe
|
deb [trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-backports-arm64 main restricted universe
|
||||||
deb [arch=aarch64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-security main restricted universe multiverse
|
deb [trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-security-arm64 main restricted universe multiverse
|
||||||
EOC
|
EOC
|
||||||
}
|
}
|
||||||
|
|
||||||
#(ping -c 3 repo-clones.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
|
(ping -c 3 repo-clones-apt.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
|
||||||
echo "Internal package repository not loading Translation en package (QTQAINFRA-6297). Using public repositories."
|
|
||||||
|
|
||||||
# Make sure needed ca-certificates are available
|
# Make sure needed ca-certificates are available
|
||||||
sudo apt-get install --reinstall ca-certificates
|
sudo apt-get install --reinstall ca-certificates
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2025 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
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
# Install required packages with APT
|
# Install required packages with APT
|
||||||
|
@ -20,18 +20,16 @@ function set_internal_repo {
|
||||||
sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
|
sudo mv /etc/apt/apt.conf.d/50appstream{,.disabled}
|
||||||
|
|
||||||
sudo tee "/etc/apt/sources.list.d/ubuntu.list" > /dev/null <<-EOC
|
sudo tee "/etc/apt/sources.list.d/ubuntu.list" > /dev/null <<-EOC
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble main restricted universe multiverse
|
deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-amd64 main restricted universe multiverse
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-updates main restricted universe multiverse
|
deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-updates-amd64 main restricted universe multiverse
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-backports main restricted universe
|
deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-backports-amd64 main restricted universe
|
||||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-security main restricted universe multiverse
|
deb [arch=amd64 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-security-amd64 main restricted universe multiverse
|
||||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble main restricted
|
deb [arch=i386 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-i386 main restricted universe multiverse
|
||||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble-updates main restricted
|
deb [arch=i386 trusted=yes] http://repo-clones-apt.ci.qt.io:8080 noble-updates-i386 main restricted universe multiverse
|
||||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu/ noble universe
|
|
||||||
EOC
|
EOC
|
||||||
}
|
}
|
||||||
|
|
||||||
#(ping -c 3 repo-clones.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
|
(ping -c 3 repo-clones-apt.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
|
||||||
echo "Internal package repository not loading Translation en package (QTQAINFRA-6297). Using public repositories."
|
|
||||||
|
|
||||||
# Make sure needed ca-certificates are available
|
# Make sure needed ca-certificates are available
|
||||||
sudo apt-get install --reinstall ca-certificates
|
sudo apt-get install --reinstall ca-certificates
|
||||||
|
|
Loading…
Reference in New Issue