[ipxe-devel] [PATCH] reproducible builds

Geert Stappers stappers at stappers.nl
Sat May 2 19:04:53 UTC 2020


On Sat, May 02, 2020 at 05:16:07PM +0200, Geert Stappers wrote:
> On Sat, May 02, 2020 at 09:34:34AM +0200, Geert Stappers wrote:
> > On Fri, May 01, 2020 at 06:36:05PM -0400, Neil Roza wrote:
> > > 
> > > Please find the attached a patch that makes the generation
> > > of most artifacts deterministic.
> > > 
> > 
> > I also like reproducible builds.  I'm happy to help find consensus.
> > 
> > > 
> > > Neil Roza
> > 
> > 
> > That I missed something is concern for later ...

Commit message. Can be achieved in three steps
 * git add
 * git commit
 * git format-patch

> > > index 1dd14794..93c598d2 100644
> > > --- a/src/Makefile.housekeeping
> > > +++ b/src/Makefile.housekeeping
> > 
> > 
> > Oops, hefty changes.  I think I can make the proposed changes less intrusive.
> 
> Find attached two patches  (a third is work in progress)
> 

Find attached two more patches.



Groeten
Geert Stappers


P.S.
Some happy git flow

  git checkout master
  git pull
  git checkout -b myfeaturebranch
  # the actual development
  git add  files_worked_on
  git commit
  # further development
  git add  files_worked_on 
  git commit
  git format-patch master
  # now you have patches that can be shared / distributed / emailed
   
At recieving end

  git checkout master
  git checkout -b reviewbranch
  git am  *.patch
  # actual reviewing
  git checkout master
  git rebase reviewbranch

At transmitting end

  git checkout master
  git branch -d myfeaturebranch


At recieving end

  git branch -d reviewbranch


Please note this the happy flow,  reality is more challenging   :-)
-- 
Silence is hard to parse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-src-Makefile.housekeeping-minor-tweak.patch
Type: text/x-diff
Size: 1252 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200502/700c01e8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Reproducible-builds.patch
Type: text/x-diff
Size: 1546 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200502/700c01e8/attachment-0001.bin>


More information about the ipxe-devel mailing list