Reproduction Build of LFS

To achieve the target of reproduction build, the following action should be taken:

 

  • Strip the result, via modification gcc spec file
  • Set and export the SOURCE_DATE_EPOCH environment variable, say
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)