Indent package for opensuse Leap 42.3 57/11557/2
authorMarco Varlese <marco.varlese@suse.com>
Fri, 6 Apr 2018 08:25:48 +0000 (10:25 +0200)
committerMarco Varlese <marco.varlese@suse.com>
Wed, 11 Apr 2018 08:33:06 +0000 (10:33 +0200)
openSUSE Leap 42.3 has an older version of the indent package compared
to other distributions in Jenkins. In order to avoid misalignment, let's
install version 2.2.11 to align with others.

Change-Id: I1473425d2cb3d503bb98e008d8fa896fdd9173eb
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
packer/provision/basebuild.sh

index 339765c..75b9148 100644 (file)
@@ -258,6 +258,14 @@ opensuse_systems() {
     # minimum so installing from TW repo
     zypper install -y \
         https://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/nasm-2.13.01-2.2.x86_64.rpm
+
+    # Leap 42.3 does not have a recent INDENT version
+    # Other distros in Jenkins run 2.2.11 so let's align Leap 42.3 too to avoid
+    # build checks differences and false-positives
+    zypper --non-interactive --gpg-auto-import-keys ar \
+       https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_42.3/devel:tools.repo
+    zypper --gpg-auto-import-keys ref
+    zypper install -y indent
 }
 
 all_systems() {