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

25 Commits

Author SHA1 Message Date
Vinícius Ferrão 551d99c817 fix(ipmitool-xcat): depend on the libraries the binary links against
The package declared libc6 and libssl by hand and never used
${shlibs:Depends}, so it named neither readline nor ncurses. The riscv64 deb
installed and then failed with "error while loading shared libraries:
libreadline.so.8". dpkg-shlibdeps now supplies the list from the built binary,
and the manifest pins follow the new revision.
2026-09-06 01:16:28 -03:00
Daniel Hilst 18a2fccba1 fix(xcat-dep): build the Ubuntu deps for riscv64
The 2.19 release needs riscv64 debs, and sbuild-all.pl accepted only amd64 and
ppc64el, so no target produced them.

The supported architecture set moves into BuildUtils as one source of truth
(supported_arches/is_supported_arch), which --arch, --target and --expect-arch now
consult; the mirror rule becomes "anything but amd64 is on ubuntu-ports", which is
what ppc64el already needed and riscv64 needs too; and the genesis control remap
stops naming ppc64el.

ipmitool-xcat also could not build there. Its debian/control names architectures
explicitly and omitted riscv64, so debhelper reported "No packages to build.
Possible architecture mismatch" and the build died at ./configure. conserver and
goconserver say Architecture: any and needed nothing.

debs-manifest.conf gains a [<codename>-riscv64] section for each codename. It
lists neither the x86 boot loaders -- a riscv64 node netboots UEFI grub2 -- nor
xcat-genesis-base, whose riscv64 flavour is the OpenEmbedded one in the shared
pool.

t/sbuild-all.t covers the control-file defect: it fails on ipmitool without this
change.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-05 16:42:41 -03:00
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
cxhong ce7f607bb2 Support ipmitool-xcat build for ubuntu18 2020-05-04 10:20:29 -04:00
cxhong 7786a7a9de modification for ubuntu supports 2020-04-30 16:30:06 -04:00
cxhong ddfc32035e Add security patch for Ubuntu 2020-04-30 15:47:30 -04:00
Victor Hu db393bda5e Date format incorrect in Debian Change log causing issues in build 2017-06-01 13:18:11 -04:00
Victor Hu 74971918e9 Bump version up to 1.8.18 2017-05-30 14:59:47 -04:00
Victor Hu 9410306529 Add support for building ipmitool-xcat 1.8.18 for xcat-deps
and created the patches that are needed
2017-05-30 14:52:09 -04:00
chenglch 89ec0d32cf Close the intf(lanplus) session if sol session is closed
This is a work around patch for OpenPOWER firmware which has error
to close the sol session. This patch add error handler to inform the
bmc to close the intf(lanplus) and sol session gracefully.
2016-11-04 16:29:39 +08:00
chenglch 0f8c38591e Upgrade to ipmitool-xcat-1.8.17 for deb package 2016-09-29 11:21:24 +08:00
chenglch dc52c082d7 Handle TERM and HUP signal in ipmitool
- Reset tty setting after receiving INT,HUP and TERM signal.
- Add TERM, HUP handler to close the connection session to the BMC

Close-issue: #9
2016-08-10 02:51:31 -04:00
ertaozh 070a27cd9f Add patch that close sol client immediately after sol session is shutdown by BMC, modify version to be 1.8.15-2 2016-07-18 03:26:15 -04:00
chenglch 22fba35a24 Fix defect for ipmitool-xcat-1.8.15 on ubuntu
- Add minor version for ubuntu
- Fix the link error for patch file
2015-11-18 02:50:26 -05:00
chenglch 8ee0e0c7a4 upgrade to ipmitool-xcat-1.8.15
saneretry.patch is useful for ipmitool-1.8.15,
eventfix and spdfix have already been patched.
add rflash patch to delete upgrade prompt question.
2015-11-16 04:08:29 -05: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 1286a288e2 fix ipmitool debian files to apply the patches
Former-commit-id: 26c7ed48b565da1cff8b7eb7834d5e5ffa50cec6
2012-04-07 23:05:00 +00:00
arifali ea264be2dd Added debian files for ipmitool-xcat
Former-commit-id: 1383327881680a42c07f373c7dfe8ca3aef8aeca
2012-04-07 22:44:49 +00:00