summaryrefslogtreecommitdiffstats
path: root/wizard
diff options
context:
space:
mode:
Diffstat (limited to 'wizard')
-rw-r--r--wizard/index.php20
1 files changed, 18 insertions, 2 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 143d65b2..9d0687d9 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -80,6 +80,7 @@ $types = [
];
$arches = [
'x86_64' => 'x86_64',
+ 'aarch64' => 'aarch64',
];
$phpvers = [
// use false when only SCL
@@ -115,7 +116,7 @@ $phpname = [
$php = (isset($_POST['php']) && isset($phpvers[$_POST['php']]) ? $_POST['php'] : false);
$os = (isset($_POST['os']) && isset($osvers[$_POST['os']]) ? $_POST['os'] : false);
$type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type'] : false);
-$arch = (isset($_POST['arch']) && isset($types[$_POST['arch']]) ? $_POST['type'] : 'x86_64');
+$arch = (isset($_POST['arch']) && isset($arches[$_POST['arch']]) ? $_POST['arch'] : 'x86_64');
?>
<body>
@@ -226,6 +227,21 @@ if ($php && $os) {
printf("<li><b>WARNING</b>, PHP version <b>%s</b> have reached its eod of life, despite packages have security fix, you should consider a maintained version.</li><br />", $php);
}
}
+
+if ($arch=='aarch64') {
+ printf("<li><b>aarch64</b> support is a work in progress, some packages are not yet available, see <a href='%s'>issue #214</a></li><br />",
+ 'https://github.com/remicollet/remirepo/issues/214');
+
+ if ($os && $dist === 'Fedora') {
+ printf("<li><b>aarch64</b> for Fedora is not planed for now</li><br />");
+ $err =true;
+
+ } else if ($os && $ver < 9) {
+ printf("<li><b>aarch64</b> for Enterprise Linux $ver is not planed for now</li><br />");
+ $err =true;
+ }
+}
+
if ($php && $os && $type && !$err) {
if ($dist == 'Fedora') {
$mod = ($ver >= 29);
@@ -245,7 +261,7 @@ if ($php && $os && $type && !$err) {
case 'RHEL 8':
case 'RHEL 9':
printf("<li>Command to enabled the <b>CRB</b> repository:");
- printf("<pre> subscription-manager repos --enable codeready-builder-for-rhel-%d-x86_64-rpms</pre></li><br />", $ver);
+ printf("<pre> subscription-manager repos --enable codeready-builder-for-rhel-%d-%s-rpms</pre></li><br />", $ver, $arch);
break;
case 'CentOS 8':
case 'CentOS 9':