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: Lucie Gerard <lucie.gerard@qt.io>
This commit is contained in:
Tero Heikkinen
2025-01-07 13:52:37 +02:00
parent e8a94de2ea
commit 5aec4aa157
4 changed files with 10 additions and 0 deletions

View File

@@ -154,6 +154,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

@@ -107,6 +107,9 @@ sudo zypper -nq install openssl-3
# cifs-utils, for mounting smb drive
sudo zypper -nq install cifs-utils
# 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

@@ -238,6 +238,9 @@ installPackages+=(jq)
installPackages+=(patchelf)
# For tst_license.pl with all the machines generating SBOM
installPackages+=(libjson-perl)
echo "Running update for apt"
waitLoop
sudo apt-get update