Add Perl JSON module

Needed with all the machines generating SBOM

Task-number: QTQAINFRA-6871
Task-number: QTBUG-131434
Change-Id: I15a79c005f530c551f9026e2cbfb465ed1211e98
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 6c6faeefd2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tero Heikkinen
2025-01-07 13:52:37 +02:00
committed by Qt Cherry-pick Bot
parent 1b6c7cfa17
commit 4eac58fb7c
6 changed files with 15 additions and 0 deletions

View File

@@ -153,6 +153,8 @@ installPackages+=(zip)
installPackages+=(perl-IPC-Cmd)
# password management support for Qt Creator
installPackages+=(libsecret-devel)
# For tst_license.pl with all the machines generating SBOM
installPackages+=(perl-JSON)
sudo yum -y install "${installPackages[@]}"

View File

@@ -167,6 +167,8 @@ installPackages+=(perl-IPC-Cmd)
installPackages+=(libsecret-devel)
# For Firebird in RTA
installPackages+=(libtommath-devel)
# For tst_license.pl with all the machines generating SBOM
installPackages+=(perl-JSON)
sudo yum -y install "${installPackages[@]}"

View File

@@ -110,6 +110,9 @@ sudo zypper -nq install cifs-utils
# For Firebird in RTA
sudo zypper -nq install libtommath-devel
# For tst_license.pl with all the machines generating SBOM
sudo zypper -nq install perl-JSON
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -113,6 +113,9 @@ sudo zypper -nq install cifs-utils
# For Firebird in RTA
sudo zypper -nq install libtommath-devel
# For tst_license.pl with all the machines generating SBOM
sudo zypper -nq install perl-JSON
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -242,6 +242,8 @@ installPackages+=(patchelf)
# For Firebird in RTA
installPackages+=(libtommath-dev)
# For tst_license.pl with all the machines generating SBOM
installPackages+=(libjson-perl)
echo "Running update for apt"
waitLoop

View File

@@ -87,6 +87,9 @@ sudo zypper -nq install libtommath-devel
# Java
sudo zypper -nq install java-17-openjdk
# For tst_license.pl with all the machines generating SBOM
sudo zypper -nq install perl-JSON
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt