From 1cffcec1cfed500cf8ab0a0b5b66e83f253bdd18 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Wed, 2 Sep 2026 17:38:24 -0300 Subject: [PATCH] fix(xcat-core): build the xCAT debs for riscv64 apt on a riscv64 Ubuntu management node cannot find xCAT at all: E: Unable to locate package xcat xCAT/debian/control and xCATsn/debian/control list "Architecture: amd64 ppc64el", so the build produces no riscv64 deb and the published apt repository serves only those two architectures. Everything else riscv64 needs is already in the tree -- the rocky10/rhels10 riscv64 install templates, the grub2 boot policy, mknb, the OpenEmbedded Genesis machine -- and the xcat-dep riscv64 repository is built, signed and complete; only the core packages are missing. Add riscv64 to both lists. xCAT-test/unit/debian_control_arch_coverage.t covers this: it fails on both files without the change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> (cherry picked from commit 13492f55c32b34597b24934079d35789b4cc57c0) --- xCAT/debian/control | 2 +- xCATsn/debian/control | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/debian/control b/xCAT/debian/control index 74ff70c64..d7077a5fc 100644 --- a/xCAT/debian/control +++ b/xCAT/debian/control @@ -8,7 +8,7 @@ Vcs-browser: https://github.com/xcat2/xcat-core.git Homepage: https://xcat.org/ Package: xcat -Architecture: amd64 ppc64el +Architecture: amd64 ppc64el riscv64 Depends: ${perl:Depends}, goconserver(>= 0.3.3-snap000000000000), xcat-server (>= 2.13-snap000000000000), xcat-client (>= 2.13-snap000000000000), libdbd-sqlite3-perl, isc-dhcp-server | kea, bind9, apache2, nfs-kernel-server, libxml-parser-perl, rsync, tftpd-hpa, libnet-telnet-perl, chrony | ntp, xcat-genesis-scripts-amd64 (>= 2.13-snap000000000000) Recommends: net-tools, nmap, kea, tftp-hpa, ipmitool-xcat (>= 1.8.17-1), syslinux[any-amd64], libsys-virt-perl, syslinux-xcat, xnba-undi, elilo-xcat, util-linux-extra, xcat-buildkit (>= 2.13-snap000000000000), xcat-probe (>= 2.13-snap000000000000), xcat-genesis-openembedded-x86-64, xcat-genesis-openembedded-ppc64le, xcat-genesis-openembedded-riscv64 Suggests: yaboot-xcat diff --git a/xCATsn/debian/control b/xCATsn/debian/control index 281c92066..73b096133 100644 --- a/xCATsn/debian/control +++ b/xCATsn/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.9.4 Homepage: https://xcat.org/ Package: xcatsn -Architecture: amd64 ppc64el +Architecture: amd64 ppc64el riscv64 Depends: ${perl:Depends}, goconserver (>=0.3.3-snap000000000000), xcat-server (>= 2.13-snap000000000000), xcat-client (>= 2.13-snap000000000000), libdbd-sqlite3-perl, libxml-parser-perl, tftpd-hpa, libnet-telnet-perl, isc-dhcp-server | kea, bind9, apache2, nfs-kernel-server, xcat-genesis-scripts-amd64 (>= 2.13-snap000000000000) Recommends: net-tools, nmap, kea, tftp-hpa, ipmitool-xcat (>= 1.8.17-1), syslinux[any-amd64], libsys-virt-perl, syslinux-xcat, xnba-undi, elilo-xcat, xcat-buildkit (>= 2.13-snap000000000000), xcat-probe (>= 2.13-snap000000000000), xcat-genesis-openembedded-x86-64, xcat-genesis-openembedded-ppc64le, xcat-genesis-openembedded-riscv64 Suggests: yaboot-xcat