Repository navigation
Merge 1.9.1-alauda-4.5 forward into 1.9.1-alauda-4.6 - #22
Merged
Merged
Conversation
`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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.6was cut from1.9.1-alauda-4.5at 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, andgit 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