2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-11-28 13:22:15 +00:00
Files
xcat-dep/t
Daniel Hilst bfaa4998f7 fix(xcat-dep): goconserver cannot fetch its modules in a Leap chroot
With the toolchain dependency resolved, the Leap 42.3 build reaches the Go
compile and every module fetch fails:

  x509: certificate signed by unknown authority

openSUSE splits its CA trust. 'ca-certificates' is the tooling and carries no
root certificate; the roots are in 'ca-certificates-mozilla'. The pinned-Go
path asks for the tooling alone, which is worse than asking for nothing:
installing it hands the trust store to a package that does not fill it.

Measured in a Leap 42.3 chroot, Go's system pool holds 146 roots before
'ca-certificates' is installed, 0 after it, and 201 once
'ca-certificates-mozilla' is added. The middle reading is the build failure.
EL and openEuler keep their roots in 'ca-certificates' itself, which is why
only openSUSE needs a second package.

goconserver_pinned_go_buildrequires() now names what a pinned-Go chroot needs,
and adds the roots package on openSUSE.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-24 10:20:02 -03:00
..