From c32c941ed7475375ea9b8eee96daeb5964a7157d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Sun, 6 Sep 2026 00:17:05 -0300 Subject: [PATCH] fix(mknb): say where the riscv64 loader comes from on Ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The note shown when boot/grub2/grub2. is missing told the administrator it comes from grub2-xcat or the EL installation media. On Ubuntu neither is true: copycd builds the loader from the grub2 package on the media, because the image the media carry cannot boot over the network. Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com> --- xCAT-server/lib/xcat/plugins/mknb.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/mknb.pm b/xCAT-server/lib/xcat/plugins/mknb.pm index c7a6ced38..3c75d0634 100644 --- a/xCAT-server/lib/xcat/plugins/mknb.pm +++ b/xCAT-server/lib/xcat/plugins/mknb.pm @@ -907,9 +907,9 @@ sub process_request { } } if (exists $GRUB2_DISCOVERY_ARCHES{$arch} && !-e "$tftpdir/boot/grub2/grub2.$arch") { - # These configurations are only reachable through grub2., which xCAT - # does not build. - $callback->({ data => ["Note: $tftpdir/boot/grub2/grub2.$arch is missing; $arch nodes need it to reach these configurations (it is installed by grub2-xcat, or copied from the EL $arch installation media)"] }); + # These configurations are only reachable through grub2.. copycd builds it from + # Ubuntu media; on EL it is supplied by grub2-xcat or copied from the media. + $callback->({ data => ["Note: $tftpdir/boot/grub2/grub2.$arch is missing; $arch nodes need it to reach these configurations (copycd builds it from Ubuntu media; on EL it is installed by grub2-xcat or copied from the $arch installation media)"] }); } if ($configfileonly && !$s390x_config_error) { $callback->({ data => ["Write netboot config file done"] });