Provisioning: Install Nodejs version 10 for QtWebengine

Task-number: QTQAINFRA-4057
Change-Id: I6f476db59ee8fdb13d37a22fdd878c3db1fd1594
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Heikki Halmet
2020-12-23 11:36:21 +02:00
parent 6cafc37486
commit 88c2d05f5d
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -ex
# Activate these modules
# This is needed by Nodejs and QtWebEngine
sudo SUSEConnect -p sle-module-web-scripting/15/x86_64

View File

@@ -109,6 +109,9 @@ sudo zypper -nq install java
# open-vm-tools requires update. Version in tier1 is broken and causes segfault on boot.
sudo zypper -nq update open-vm-tools
# Nodejs - needed by QtWebEngine
sudo zypper -nq install nodejs10
sudo zypper -nq install nodejs10-devel
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt