mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 04:26:25 +00:00
c70e09ceeb
The elilo, ipmitool and syslinux builders each fetched their upstream source and rewrote the tracked source tarball in place, inside the package source directory that both arch builds share. When the two per-arch builds run in parallel they were racing to fetch the source: one build truncated and rewrote the tarball while the other read it, so the reader got a truncated archive and failed intermittently with "missing top-level tree" errors. The correct, normalized source is already tracked in the repository and is what mock consumes, so the fetch is redundant as well as unsafe. Drop the download/normalize entirely and verify the tracked source read-only (it exists and has the expected top-level tree). With no writer, the shared source is only ever read, so parallel per-arch builds can no longer race on it. Also removes the now-dead --source-url / --skip-upstream-download options, the normalize helper, and the wget dependency check. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>