mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
d73343b198
The previous commit required Socket6 and IO::Socket::INET6 on every RPM family. That is wrong for EL and openEuler, where dnf installs a recommended package and the existing Recommends already delivers both modules. The gap is openSUSE only, and it has two parts. xCAT-server recommends both modules inside a guard that names fedora, rhel and openEuler and omits suse_version, so an openSUSE build declares neither a requires nor a recommends. perl-xCAT declares nothing at all, although xCAT::SLP, xCAT::Client and xCAT::NetworkUtils all reach IPv6 through these modules. A recommendation would not close it either: the openSUSE Minimal-VM image sets solver.onlyRequires = true, so zypper installs no recommended package, which is why xCAT already names a DHCP server directly. Both specs now require both modules on openSUSE and recommend them on the families whose package manager honours a weak dependency. The xCAT-server deb returns to a Recommends. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>