common/conf/jib-profiles.js
changeset 44626 edf5fd4f9eac
parent 44625 cf100f579077
child 44697 ae11efc5ed76
child 44727 ca162fc20601
--- a/common/conf/jib-profiles.js	Thu Apr 13 09:41:53 2017 +0200
+++ b/common/conf/jib-profiles.js	Thu Apr 13 09:50:41 2017 +0200
@@ -392,7 +392,7 @@
     // on such hardware.
     if (input.build_cpu == "sparcv9") {
        var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
-       if (cpu_brand.trim() == 'SPARC-M7') {
+       if (cpu_brand.trim().match('SPARC-.7')) {
            boot_jdk_revision = "8u20";
            boot_jdk_subdirpart = "1.8.0_20";
        }