2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-09-12 12:36:23 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Hilst b72139c18c refactor(xcat-dep): make each <dep>/sbuild.pl a true per-package builder
The per-package <dep>/sbuild.pl were generic wrappers that shelled out to each
package's make_deb.sh, so a package's build brain was split across two files and
package-specific fixes (e.g. goconserver's Go toolchain) landed in make_deb.sh
instead of the builder -- inconsistent with the EL side, where <dep>/mockbuild.pl
IS the per-package builder.

Make each <dep>/sbuild.pl own its build (mirroring <dep>/mockbuild.pl), absorbing
its make_deb.sh (source prep, patches, toolchain, dpkg-buildpackage), and remove
all seven make_deb.sh. The common chroot orchestration -- ephemeral schroot session,
apt update, build-dep install, out-of-tree copy, SOURCE_DATE_EPOCH, deb collection +
host-side verification -- moves into BuildUtils::build_deb_in_chroot; each builder
supplies only its package-specific recipe (passed base64-encoded to avoid quoting
interplay through schroot).

Also make the older Ubuntu codenames buildable:
- goconserver: install a pinned modern Go (1.25.12) in the build -- focal/jammy ship
  a Go too old to even auto-switch toolchains, and goconserver's pinned deps need
  Go >= 1.25 (it is a static CGO-free binary, so the pinned toolchain is portable and
  reproducible across codenames).
- ipmitool + goconserver: lower debian/compat 13 -> 12 and Build-Depends debhelper
  (>= 12), since Ubuntu 20.04 (focal) ships debhelper 12; compat 12 also builds cleanly
  on newer codenames.

Validated: all recipe shapes build green through the new path -- tarball
(ipmitool@focal), git-clone+pinned-Go (goconserver@focal), tarball+patches
(syslinux@noble), in-place (grub2-xcat), in-place+custom-rules (xnba); 80/80 unit
tests still pass.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-08-11 13:12:59 -03:00
Daniel Hilst 1cc3932308 fix(ipmitool): Update debian packaging for Ubuntu 22.04-26.04
- Bump debhelper Build-Depends to >= 13, drop autotools-dev
- Update libssl runtime dep to libssl3t64 | libssl3 | libssl1.1
- Remove --with-kerneldir (conflicts with kernel 7.0 headers)
2026-06-20 17:28:16 -03:00
Vinícius Ferrão 939de63cc0 fix(ipmitool): Update debian packaging for modern debhelper
- Bump compat level 5 -> 13 (required by Ubuntu 22.04+)
- Fix dh sequence syntax: dh --with quilt build -> dh build --with quilt
- Replace dh_clean -k with dh_prep (removed in compat 12)
- Clean patch series to include all 0xxx patches and 1.8.18 patches
  (removes old 1.8.15/1.8.17 patches that conflict)
2026-05-11 00:07:21 -03:00
Mark Gurevich 43ea223958 Rebuild ipmitool-xcat for Ubuntu20 2022-09-22 16:43:53 -04:00
zhaoertao 861bf0ecd7 to support ppc64el for ipmitool-xcat
Former-commit-id: 60ac6a4d54f582ec77487be1a8facf56976be00e
2014-07-08 21:50:58 -07:00
xq2005 bb3e2fbc6d change the Maintainer to xCAT when building dependecy packages on ubuntu
Former-commit-id: aedd3c83a50b1ef980fb56f33fed3f5308e9b5ef
2013-06-26 07:41:45 +00:00
xq2005 cd02c36e91 resolve the conflict between ipmitool and ipmitool-xcat
Former-commit-id: 5cfc8afad85ded92a5c32211089b1222039c11b2
2013-02-20 08:41:38 +00:00
xq2005 baa99fc867 resolve the conflist between ipmitool and ipmitool-xcat on debian/ubuntu
Former-commit-id: 3aa364b8d5bac34c51b027e46ae885bc08bc5d1a
2013-02-17 06:03:29 +00:00
xq2005 6062d7a17f change ipmitools build dependency on debian and ubuntu
Former-commit-id: 8c1ba5cb47a43981e92abfeeb7431f17a94278b6
2013-01-20 08:47:43 +00:00
arifali ea264be2dd Added debian files for ipmitool-xcat
Former-commit-id: 1383327881680a42c07f373c7dfe8ca3aef8aeca
2012-04-07 22:44:49 +00:00