summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-18 09:01:36 +0200
committerRemi Collet <remi@php.net>2023-09-18 09:01:36 +0200
commitc0aea85026321a4985fb2c9ce54f813b877fc5df (patch)
tree6180c93c1a09a4de554357de02e325d952c91e76
parentbb8be27e98d74bd6c7c22a6e8b32bbb61a681d27 (diff)
EL-8 for aarch64 (WIP)
-rwxr-xr-xmashrepo1
-rw-r--r--wizard/index.php10
2 files changed, 8 insertions, 3 deletions
diff --git a/mashrepo b/mashrepo
index 99b50ace..09977e85 100755
--- a/mashrepo
+++ b/mashrepo
@@ -101,6 +101,7 @@ mash54 enterprise/7 x86_64 x86_64
mashit mashinfo.el9 enterprise/9 x86_64
mashit mashinfo.el9 enterprise/9 aarch64
mashit mashinfo.el8 enterprise/8 x86_64
+mashit mashinfo.el8 enterprise/8 aarch64
mashit mashinfo.el7 enterprise/7 x86_64
#mashit mashinfo.el6 enterprise/6 i386
#mashit mashinfo.el6 enterprise/6 x86_64
diff --git a/wizard/index.php b/wizard/index.php
index b968d59d..f806dadd 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -243,9 +243,13 @@ if ($arch == 'ppc64le' || $arch == 's390x') {
printf("<li><b>aarch64</b> for Fedora is not planed for now</li><br />");
$err =true;
- } else if ($os && $ver < 9) {
+ } else if ($os && $ver < 8) {
printf("<li><b>aarch64</b> for Enterprise Linux $ver is not planed for now</li><br />");
$err =true;
+ } else if ($os && $ver == 8) {
+ $osmin['RHEL 8'] = $osmin['CentOS 8'] = $osminbase['RHEL 8'] = $osminbase['CentOS 8'] = '7.4';
+
+ printf("<li><b>aarch64</b> for Enterprise Linux $ver is a work in progress, some packages are not yet available</li><br />");
}
}
@@ -401,9 +405,9 @@ if ($php && $os && $type && !$err) {
$scl='php'.str_replace('.', '', $php);
if (version_compare($php, $osmax[$os], '>')) {
- printf("<li>Sorry, but PHP version greater than <b>%s</b> are not available for <b>%s</b>.</li><br />", $osmax[$os], $os);
+ printf("<li>Sorry, but PHP version greater than <b>%s</b> are not available for <b>%s</b> (%s).</li><br />", $osmax[$os], $os, $arch);
} else if (version_compare($php, $osmin[$os], '<')) {
- printf("<li>Sorry, but PHP version older than <b>%s</b> are not available for <b>%s</b>.</li><br />", $osmin[$os], $os);
+ printf("<li>Sorry, but PHP version older than <b>%s</b> are not available for <b>%s</b> (%s).</li><br />", $osmin[$os], $os, $arch);
} else {
if (!$phpvers[$php]) {
printf("<li><b>WARNING</b>: PHP version <b>%s</b> is a <b>development</b> version, not ready for production.</li><br />", $php);