On Thu, Jan 8, 2026 at 1:26 AM Changqing Li via lists.yoctoproject.org <
[email protected]> wrote:

> From: Changqing Li <[email protected]>
>
> These series of patches are mostly set buildid to empty for improving
> reproducibility, I also send a patch to oe-core with subject:
> [PATCH V3] go.bbclass: set buildid to empty string to improve
> reproducibility
>
> which add -buildid= in default GO_LDFLAGS, but since packages compiled
> with go may not use GO_LDFLAGS in go.bbclass, they can have their own
> Makefiles, define their own variables for passing ldflags, so change
> them one by one.
>

Rather than setting it to empty, I'd rather set it to a value that might
be useful to us.

Perhaps the git hash we are building ? or the checksum of another
set of files ?

Bruce



>
> podman also disable buildvcs
>
> Changqing Li (15):
>   docker-compose: set go buildid to empty for improving reproducibility
>   docker: set go buildid to empty for improving reproducibility
>   kubernetes: set go buildid to empty for improving reproducibility
>   nerdctl: set go buildid to empty for improving reproducibility
>   runc: set go buildid to empty for improving reproducibility
>   skopeo: set go buildid to empty for improving reproducibility
>   umoci: set go buildid to empty for improving reproducibility
>   cni: update GO_EXTRA_LDFLAGS
>   oci-image-tools: set go buildid to empty for improving reproducibility
>   docker-distribution: set go buildid to empty for improving
>     reproducibility
>   containerd: set go buildid to empty for improving reproducibility
>   cri-o: set go buildid to empty for improving reproducibility
>   cri-tools: set go buildid to empty for improving reproducibility
>   oci-runtime-tools: set go buildid to empty for improving
>     reproducibility
>   podman: improve reproducibility
>
>  .../containerd/containerd_git.bb              |  1 +
>  recipes-containers/cri-o/cri-o_git.bb         |  1 +
>  recipes-containers/cri-tools/cri-tools_git.bb |  2 +-
>  .../docker-compose/docker-compose_git.bb      |  4 +-
>  .../docker-distribution_git.bb                |  2 +
>  ...01-Makefile-remove-duplicate-ldflags.patch | 39 +++++++++++++++++++
>  recipes-containers/docker/docker.inc          |  2 +
>  .../kubernetes/kubernetes_git.bb              |  2 +-
>  recipes-containers/nerdctl/nerdctl_git.bb     |  1 +
>  .../0001-Makefile-add-EXTRA_LDFLAGS.patch     | 39 +++++++++++++++++++
>  .../oci-image-tools/oci-image-tools_git.bb    |  5 ++-
>  .../0001-Makefile-add-EXTRA_LDFLAGS.patch     | 33 ++++++++++++++++
>  .../oci-runtime-tools_git.bb                  |  2 +
>  recipes-containers/podman/podman_git.bb       |  4 +-
>  recipes-containers/runc/runc.inc              |  1 +
>  recipes-containers/skopeo/skopeo_git.bb       |  2 +-
>  recipes-containers/umoci/umoci_git.bb         |  4 +-
>  recipes-networking/cni/cni_git.bb             |  4 +-
>  18 files changed, 138 insertions(+), 10 deletions(-)
>  create mode 100644
> recipes-containers/docker-distribution/files/0001-Makefile-remove-duplicate-ldflags.patch
>  create mode 100644
> recipes-containers/oci-image-tools/files/0001-Makefile-add-EXTRA_LDFLAGS.patch
>  create mode 100644
> recipes-containers/oci-runtime-tools/files/0001-Makefile-add-EXTRA_LDFLAGS.patch
>
> --
> 2.34.1
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9547): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9547
Mute This Topic: https://lists.yoctoproject.org/mt/117148688/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to