2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-09-09 14:36:43 +00:00

9 Commits

Author SHA1 Message Date
Daniel Hilst c808e06da3 fix(xcat-dep): address code review — run lock, loud tree wipes, wire tested genesis copier, dedupe pool, honest Release arches
Review follow-up for the Ubuntu sbuild matrix:

- Add a fail-fast exclusive flock over the whole run (<output-root>/.sbuild-all.lock,
  file-scoped handle) so two overlapping runs can't corrupt the shared staging/apt
  tree -- this is the root of the observed 'remove_tree .../staging/<cn>/<arch>:
  Directory not empty' (an NFS silly-rename from a concurrent run).
- wipe_tree(): remove_tree that captures {error} and dies loud, so an ENOTEMPTY no
  longer carps-and-continues leaving stale debs; used for all staging/pool/dists wipes.
- Wire the tested, hash-based cross_copy_genesis_deb into build_genesis (was a naive
  glob+copy, so the unit-tested stale-dropping copier was dead code); remove the
  genuinely-unused deb_snap_version/rewrite_changelog_top helpers + their subtests
  (compiled deps intentionally ship their tracked changelog version).
- Dedupe assemble_apt on binary Package+Architecture (keep highest via
  dpkg --compare-versions) so a double-produced genesis can't land two versions in
  the pool, independent of the --skip-genesis contract.
- Derive Release Architectures from the arches actually staged (non-empty
  binary-<arch>/Packages), not a hard-coded 'amd64 ppc64el'.
- goconserver: guard 'go mod init' when a go.mod exists (+ TODO to commit go.sum for
  the pinned SHA). Accept-and-ignore the unused per-package --log-dir/--build-number/
  --skip-install flags (documented). Remove orphaned make_deb.sh dispatchers
  (build-debs-all, build.sh, ipmitool/build.sh) + update the READMEs.

perl -c clean; prove t/sbuild-all.t: 71/71.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-08-12 11:49:54 -03:00
Mark Gurevich a361efca8d Update ipmitool-xcat RPM version number and build instructions for RH9 2022-11-11 13:49:53 -05:00
Mark Gurevich 43ea223958 Rebuild ipmitool-xcat for Ubuntu20 2022-09-22 16:43:53 -04:00
Mark Gurevich 07caba585b Update ipmitool build notes for Debian 2022-09-21 14:58:12 -04:00
ligc 6446653a0e update bldipmi.pl and Build-notes for RHEL 7.1 ppc64le
Former-commit-id: fb8b4b9dcf1bac0522d6e29d0964c2b1be99eb79
2014-12-18 11:03:43 +08:00
ligc 29e0633b7e fix for 4312: build xcat-dep packages for SLES 12 x86_64
Former-commit-id: dc03d6519b6646ab2ae432f8008ed1c8a6a11b4d
2013-10-24 14:15:20 +08:00
daniceexi 5cf14a7610 add the notes for how to enable the ssl for ipmitool
Former-commit-id: 218c67696fcc42ae566d43e2a5aab34be70e3cff
2011-05-04 01:45:28 +00:00
zhanx 8217a38f23 Former-commit-id: b2481d7dc16d76beadd0fe2a0dc7ddf896336ce2 2009-11-27 09:17:25 +00:00
zhanx bff2394187 Add them for support ipmitool on AIX
Former-commit-id: 9ee6830ddece449715c7762821a0611e35aae618
2009-11-27 09:14:29 +00:00