open-horizon / anax

Horizon agent control system
https://open-horizon.github.io/docs/anax/docs/
Apache License 2.0
72 stars 98 forks source link

Feature Request: update agent-install.sh to support aarch64 RPMs #3250

Open johnwalicki opened 2 years ago

johnwalicki commented 2 years ago

Is your feature request related to a problem? Please describe.

Its not a secret that I'm a long time Red Hat / Fedora desktop Linux evangelist and morphed that passion into IoT / Edge. I've been running Fedora ARM64 on some of my Raspberry Pi devices for several years. Its irritated me that I have to manually grab the debian ARM64 bundle, unpack the anax / hzn binaries and hack up the installation of Horizon on my Fedora aarch64 devices.

$ uname -a
Linux f36-3b-rack3 5.17.8-300.fc36.aarch64 #1 SMP Mon May 16 00:40:35 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

$ hzn version
Horizon CLI version: 2.29.0-595
Horizon Agent version: 2.29.0-595

Describe the solution you'd like.

agent-install.sh will correctly configure a Raspberry Pi or industrial ARM64 PC running Fedora / Red Hat ARM64 (aarch64) architecture.

The goal will be to build a bundle of horizon-agent-linux-rpm-aarch64.tar.gz RPMs for Fedora / Red Hat for ARM64 devices.

johnwalicki commented 2 years ago

Master GH issue: Architecture : Support for aarch64 RPMs #3255 will track all of this effort.

johnwalicki commented 2 years ago

Implementation would be similar to Doug's work in https://github.com/open-horizon/anax/pull/3451