From b7be80d45038835dac5340cc46cf7dc25b178831 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Fri, 11 Sep 2026 17:17:55 -0300 Subject: [PATCH] fix(xcat-core): the Ubuntu ppc64el netboot image has no dig genimage returns 2 with "Failed to find usr/bin/dig" for ubuntu22.04 and ubuntu24.04 on ppc64el, so packimage writes no initrd.gz and the diskless compute node never boots. xCAT-server/share/xcat/netboot/ubuntu had a ppc64el package list for 20.04 and 26.04 only. imgutils::get_profile_def_filename then falls back to compute.pkglist, which installs no dig, no cpio and no chrony. Add the 22.04 and 24.04 ppc64el lists, and the ppc64le spelling each release already carries. Both take the content of the 26.04 ppc64el list: the ppc64el images build their initrd with mkinitrd, so they install bind9-dnsutils and leave out the dracut packages the x86_64 lists take. ubuntu_ppc64el_pkglists.t fails without these files. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- .../compute.ubuntu22.04.ppc64el.pkglist | 20 +++++++++++++++++++ .../compute.ubuntu22.04.ppc64le.pkglist | 20 +++++++++++++++++++ .../compute.ubuntu24.04.ppc64el.pkglist | 20 +++++++++++++++++++ .../compute.ubuntu24.04.ppc64le.pkglist | 20 +++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64el.pkglist create mode 100644 xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64le.pkglist create mode 100644 xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64el.pkglist create mode 100644 xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64le.pkglist diff --git a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64el.pkglist b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64el.pkglist new file mode 100644 index 000000000..f8eaecec0 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64el.pkglist @@ -0,0 +1,20 @@ +bash +ifupdown +nfs-common +openssl +isc-dhcp-client +libc-bin +linux-image-generic +openssh-server +openssh-client +wget +vim +rsync +busybox-static +gawk +bind9-dnsutils +tar +gzip +xz-utils +cpio +chrony diff --git a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64le.pkglist b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64le.pkglist new file mode 100644 index 000000000..f8eaecec0 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu22.04.ppc64le.pkglist @@ -0,0 +1,20 @@ +bash +ifupdown +nfs-common +openssl +isc-dhcp-client +libc-bin +linux-image-generic +openssh-server +openssh-client +wget +vim +rsync +busybox-static +gawk +bind9-dnsutils +tar +gzip +xz-utils +cpio +chrony diff --git a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64el.pkglist b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64el.pkglist new file mode 100644 index 000000000..f8eaecec0 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64el.pkglist @@ -0,0 +1,20 @@ +bash +ifupdown +nfs-common +openssl +isc-dhcp-client +libc-bin +linux-image-generic +openssh-server +openssh-client +wget +vim +rsync +busybox-static +gawk +bind9-dnsutils +tar +gzip +xz-utils +cpio +chrony diff --git a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64le.pkglist b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64le.pkglist new file mode 100644 index 000000000..f8eaecec0 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu24.04.ppc64le.pkglist @@ -0,0 +1,20 @@ +bash +ifupdown +nfs-common +openssl +isc-dhcp-client +libc-bin +linux-image-generic +openssh-server +openssh-client +wget +vim +rsync +busybox-static +gawk +bind9-dnsutils +tar +gzip +xz-utils +cpio +chrony