mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 04:26:25 +00:00
d7311caf084db1c874f76f65ac313e49f6d09ba8
In 2.17 every per-arch xcat-dep repo also shipped the OTHER arch's noarch xCAT-genesis-base (the x86_64 repo carried xCAT-genesis-base-ppc64, and the ppc64le repo carried xCAT-genesis-base-x86_64) so an MN could netboot nodes of the other architecture. The matrix build produces per-arch repos that each carry only their own genesis, and stale foreign-arch genesis rpms lingered in the repo unindexed -- which breaks `go-xcat install` on EL9 because the repodata does not resolve the whole install list (xcat2/xcat-core#7610). Add a build-free, lock-free `--finalize-xcat-dep --x86-repo <dir> --ppc-repo <dir>` mode. For each matching <os>/x86_64 and <os>/ppc64le repo pair it copies the noarch xCAT-genesis-base-ppc64 into the x86_64 repo and xCAT-genesis-base-x86_64 into the ppc64le repo, drops any stale foreign-arch genesis first, re-signs the copied rpm + repomd under --gpg-sign, and re-indexes with createrepo_c. Idempotent: an already up-to-date pair copies nothing and is not re-indexed. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
Description
No description provided
Languages
C
89%
Perl
6.7%
Assembly
1.4%
JavaScript
0.8%
Makefile
0.6%
Other
1.4%