mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-25 17:24:07 +00:00
5d0f6fc50d
A diskful install of Ubuntu on a ppc64el node runs to the bootloader step and stops. curtin reports "dpkg-query: package 'grub-ieee1275' is not installed" from dpkg-reconfigure, and the node never reaches the disk it installed. ubuntu_subiquity_apt_config in xCAT-server/lib/perl/xCAT/Template.pm writes APT::Install-Recommends "false" for every architecture. curtin installs a bootloader package of its own for UEFI and for s390x only, so on a PReP machine grub-ieee1275 reaches the target only as a recommended package of the kernel image, and that setting removes it. The apt block now keeps the recommended packages on ppc64el, online and offline, and is unchanged on every other architecture. ubuntu_subiquity_pkglist.t renders the block for osarch ppc64el and requires that it does not disable the recommended packages. Both assertions fail without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>