[ZBXNEXT-7980] Enterprise Linux arm64 packages Created: 2022 Sep 19 Updated: 2024 Apr 10 Resolved: 2023 Sep 12 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | 6.4 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | Maximilian Grüttemeier | Assignee: | Jurijs Klopovskis |
Resolution: | Fixed | Votes: | 2 |
Labels: | arm64, enterprise-linux, packages, packaging, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023) | ||||||||
Story Points: | 1 |
Description |
As Oracle now offers a free tier with arm64 systems, and more and more hosting providers offer arm64 only platforms to their customers, it would only make sense to build aarch64 packages for Enterprise Linux distributions ( AlmaLinux, RockyLinux, RHEL and Oracle Linux ). Currently community provided zabbix packages in CodeReady and EPEL lack certain packages and are behind the current zabbix release. For example zabbix-agent2 is not avaiable as CR or EPEL package. The current release version in the mentioned repositories are still at 6.0. Seeing the raise of demand for arm64 systems due to their energy efficency, it is a big market hole for Zabbix to not start supporting arm64 platforms natively. |
Comments |
Comment by Off by One [ 2023 Apr 13 ] |
Using the following steps, I was able to build these packages:
Missing from this list is zabbix-agent2, because go-lang is not a dependency in the spec file. Â These instructions work with docker and podman: mkdir /tmp/buildroot docker create -i -t --platform linux/arm64 -v /tmp/buildroot/:/root --name ol8.7 oraclelinux:8.7 /bin/bash docker start ol8.7 docker exec -it ol8.7 sh -c "dnf config-manager --set-enabled ol8_codeready_builder" docker exec -it ol8.7 sh -c "dnf -y install dnf-plugins-core" docker exec -it ol8.7 sh -c "dnf -y install rpm-build" docker exec -it ol8.7 sh -c "rpm -ihv https://repo.zabbix.com/zabbix/6.4/rhel/8/SRPMS/zabbix-6.4.1-release1.el8.src.rpm" docker exec -it ol8.7 sh -c "dnf -y builddep /root/rpmbuild/SPECS/zabbix.spec" docker exec -it ol8.7 sh -c "rpmbuild -ba /root/rpmbuild/SPECS/zabbix.spec" The RPMs produced by this build can be found in /tmp/buildroot/rpmbuild/RPMS/. |