From 9ae78ca02a2be9aef10538c2f845d5bfff47f67a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jul 2022 15:16:36 +0200 Subject: EL9 aarch64 --- wizard/index.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'wizard/index.php') 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'); ?> @@ -226,6 +227,21 @@ if ($php && $os) { printf("
  • WARNING, PHP version %s have reached its eod of life, despite packages have security fix, you should consider a maintained version.

  • ", $php); } } + +if ($arch=='aarch64') { + printf("
  • aarch64 support is a work in progress, some packages are not yet available, see issue #214

  • ", + 'https://github.com/remicollet/remirepo/issues/214'); + + if ($os && $dist === 'Fedora') { + printf("
  • aarch64 for Fedora is not planed for now

  • "); + $err =true; + + } else if ($os && $ver < 9) { + printf("
  • aarch64 for Enterprise Linux $ver is not planed for now

  • "); + $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("
  • Command to enabled the CRB repository:"); - printf("
        subscription-manager repos --enable codeready-builder-for-rhel-%d-x86_64-rpms

  • ", $ver); + printf("
        subscription-manager repos --enable codeready-builder-for-rhel-%d-%s-rpms

    ", $ver, $arch); break; case 'CentOS 8': case 'CentOS 9': -- cgit