mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 04:26:25 +00:00
9d32988ae2
goconserver always compiles in the el10 chroot for the arch (el8/el9 ship a Go too old for 0.3.3), so mockbuild-all's post-build scrub -- which keys on the target cfg (el8/el9) -- cannot reach it, and goconserver self-scrubs its el10 build chroot. But it ran only 'mock --scrub=chroot', leaving the ~190 MiB bootstrap-image tree '<cfg>-bootstrap-<uniqueext>' behind. One survived per target per run and piled up in /var/lib/mock -- part of the disk leak that filled the x86 build host to 99% and flaked a build (VersatusHPC/xcat-core#51). Add '--scrub=bootstrap' so goconserver reclaims its whole chroot, matching mockbuild-all's scrub_buildroot. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>