[OE-core] [PATCH v4 0/5] Reproducible binaries

Juro Bystricky juro.bystricky at intel.com
Sat Aug 19 18:06:52 UTC 2017


This is a reduced set of the original patchset "Reproducible binaries".

For more details, please see the cover letter in:

https://patchwork.openembedded.org/series/6504/#

The patchset is reduced as some of the patches were already merged.
Also removed from the patchset is the patch for python2.7 support of
SOURCE_DATE_EPOCH in .pyc images, this one was sent to ML separately
and should be treated as such.

This set is rebased to the current master 782cdf14e3f2d5b321efa59d8d1b93554af86516
(as of August 19 2017)

The only functional changes are in "reproducible_build.bbclass":

1. Rename "src_date_epoch.txt" to "__source_date_epoch.txt" to minimize file name clashes
2. Create the file "src_date_epoch.txt" in ${WORKDIR} instead of ${S}, to avoid an inadvertent
   inclusion of this file in a package.



Juro Bystricky (5):
  reproducible_build.bbclass: initial support for binary reproducibility
  cpio: provide cpio-replacement-native
  image_types.bbclass: improve cpio image reproducibility
  poky-reproducible.conf: Initial version
  rootfs-postcommands.bbclass: support binary reproducibility

 meta-poky/conf/distro/include/reproducible-group  |  50 ++++++++++
 meta-poky/conf/distro/include/reproducible-passwd |  25 +++++
 meta-poky/conf/distro/poky-reproducible.conf      |  38 ++++++++
 meta/classes/base.bbclass                         |   4 +
 meta/classes/image_types.bbclass                  |  14 ++-
 meta/classes/reproducible_build.bbclass           | 107 ++++++++++++++++++++++
 meta/classes/rootfs-postcommands.bbclass          |  26 +++++-
 meta/recipes-extended/cpio/cpio_v2.inc            |   2 +
 8 files changed, 262 insertions(+), 4 deletions(-)
 create mode 100644 meta-poky/conf/distro/include/reproducible-group
 create mode 100644 meta-poky/conf/distro/include/reproducible-passwd
 create mode 100644 meta-poky/conf/distro/poky-reproducible.conf
 create mode 100644 meta/classes/reproducible_build.bbclass

-- 
2.7.4




More information about the Openembedded-core mailing list