common/conf/jib-profiles.js
changeset 45553 7b854640bca9
parent 45510 ef977f09bac8
parent 45451 2d500ccfa3b5
child 45824 d161a843e941
child 46231 070d55554f06
--- a/common/conf/jib-profiles.js	Thu Jun 15 17:24:10 2017 +0000
+++ b/common/conf/jib-profiles.js	Fri Jun 16 04:54:27 2017 +0000
@@ -387,7 +387,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().match('SPARC-.7')) {
+       if (cpu_brand.trim().match('SPARC-.[78]')) {
            boot_jdk_revision = "8u20";
            boot_jdk_subdirpart = "1.8.0_20";
        }