mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 18:19:40 +00:00
0c3c44f28b
xcatprobe subcommands (xcatmn, discovery, osdeploy) and hierarchy.pm load xCAT:: perl modules but only add $XCATROOT/probe/lib/perl to @INC, not the main $XCATROOT/lib/perl where perl-xCAT ships them. The RPM builder stopped embedding those helpers, so /opt/xcat/probe/lib/perl/xCAT/ was absent on installed systems and the subcommands were reported "Unsupported sub command". Stage GlobalDef.pm, NetworkUtils.pm and ServiceNodeUtils.pm into a temporary xCAT-probe tree and build its source tarball once, before the parallel target builds fork, so workers only read a complete archive. Add package-payload regression tests. Adopts the approach from upstream PR #7581. The remaining buildrpms.pl changes are deployment-compliance refactoring (signed, self-contained core repo output). Closes #7579 Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>