public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Oliver Smith-Denny via groups.io" <osde=linux.microsoft.com@groups.io>
To: devel@edk2.groups.io, michael.d.kinney@intel.com
Subject: Re: [edk2-devel] Current State of Build Reproducibility in edk2
Date: Thu, 19 Jun 2025 09:53:03 -0700	[thread overview]
Message-ID: <0a38cea9-b9e4-4721-83f3-8192eddd14af@linux.microsoft.com> (raw)
In-Reply-To: <CO1PR11MB4929DF2D4D1230309422B558D27DA@CO1PR11MB4929.namprd11.prod.outlook.com>

On 6/18/2025 5:21 PM, Michael D Kinney via groups.io wrote:
> Should work for physical platform builds.
> 
> The OVMF and EmulatorPkg build may have some timestamps in them.
> 
> If the EmbeddedPkg VirtualRealTimeClockLib is used, then it pulls in system time
> in Linux builds.  I have a proposal to address this one queued up to support
> both windows and linux and reproducible builds when needed.
> 
> [BuildOptions]
>    GCC:*_*_*_CC_FLAGS = -DBUILD_EPOCH=`printenv SOURCE_DATE_EPOCH || date +%s`
> 
> The following is a good resource on this topic and all the
> elements need to be tracked so issues do not get introduced.
> 
> 	https://reproducible-builds.org/docs/
> 

Thanks, let me play around with this some more. It may be that the
platform I started trying this with had some similar dependencies.

Thanks,
Oliver



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121425): https://edk2.groups.io/g/devel/message/121425
Mute This Topic: https://groups.io/mt/113714425/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2025-06-19 16:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-18 19:44 [edk2-devel] Current State of Build Reproducibility in edk2 Oliver Smith-Denny via groups.io
2025-06-19  0:21 ` Michael D Kinney via groups.io
2025-06-19 16:53   ` Oliver Smith-Denny via groups.io [this message]
2025-06-24 14:57     ` Richard Lyu via groups.io
2025-06-27 15:22       ` Oliver Smith-Denny via groups.io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0a38cea9-b9e4-4721-83f3-8192eddd14af@linux.microsoft.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox