2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-02 17:02:17 +00:00
Files
xcat-core/build-utils
Daniel Hilst cdb9360c53 fix(xcat-core): Genesis base staging cannot run outside buildrpms.pl
buildsources_genesis_base() lived in buildrpms.pl, which runs mkdir, git
and file writes at file scope and cannot be loaded. Its test therefore
extracted the sub with a regex and evaluated a copy of the source.

Move the staging into XCAT::BuildUtils as stage_genesis_base_sources(),
which takes the checkout, the tarball path and SOURCE_DATE_EPOCH.
buildsources_genesis_base() now calls it. The tarball content and the
failure on a missing xCAT-genesis-base directory do not change.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-24 16:05:31 -03:00
..
2024-05-07 16:31:30 +02:00