Skip to content

Merge 1.9.1-alauda-4.5 forward into 1.9.1-alauda-4.6 - #22

Merged
wgkingk merged 2 commits into
1.9.1-alauda-4.6from
1.9.1-alauda-4.5
Nov 27, 2026
Merged

wgkingk merged 2 commits into
1.9.1-alauda-4.6from
1.9.1-alauda-4.5

Conversation

@wgkingk

@wgkingk wgkingk commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Merge-forward of the 4.5 line into the 4.6 line. ACP 4.6 is built from provider main.

1.9.1-alauda-4.6 was cut from 1.9.1-alauda-4.5 at 059221b. Fixes land on the 4.5 line first and are merged forward like this, not cherry-picked. Each fix is then the same commit on both lines, and git branch -r --contains <sha> shows which lines have it.

This brings in:

Merge with a merge commit (--merge), not squash or rebase.

🤖 Generated with Claude Code

wgkingk and others added 2 commits November 27, 2026 08:44
`go mod vendor` drops the C sources of github.com/google/go-tpm-tools, so
the vendored simulator does not compile with cgo ("Platform.h: No such
file or directory"). Upstream's `make vendor` re-extracts the release
tarball of the go.mod version into vendor/ for exactly this reason. The
fork lost those files when it was re-vendored with plain `go mod vendor`
in 6945ef4, and every branch since has inherited that.

Extract the v0.4.9 tarball the way the `vendor` target does. Files are
only added: the 7 Go files already vendored are identical. Some of them
match go-tpm-tools' own .gitignore, among them TPMCmd/tpm/src/main/*.c,
which the simulator includes, so they are added with -f; upstream tracks
them too. go.mod, go.sum and vendor/modules.txt do not change.

Release builds are not affected: the operator is built with
CGO_ENABLED=0, and os-build restores the same sources before it builds
elemental-register. This fixes the cgo unit tests (pkg/install,
pkg/register, pkg/server, pkg/tpm, cmd/operator, cmd/register), which
failed to compile in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build(vendor): restore the go-tpm-tools sources the TPM simulator needs
@wgkingk
wgkingk merged commit 40817cb into 1.9.1-alauda-4.6 Nov 27, 2026
1 check passed
wgkingk added a commit that referenced this pull request Nov 27, 2026
Brings in #21 (restore the go-tpm-tools sources the TPM simulator needs)
via #22, so the cgo unit tests compile on this branch too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant