]> code.ossystems Code Review - openembedded-core.git/commit
ruby: fix the reproducibility issue
authorThomas Perrot <thomas.perrot@bootlin.com>
Thu, 30 Sep 2021 14:04:24 +0000 (16:04 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 21 Oct 2021 06:53:07 +0000 (14:53 +0800)
commiteea2f854fdd0f036dae2671ae52ba4695a83df68
treec3ab42aac56f3187193ba477711fffad01434933
parentfe13e284633ed191ab924af7b888b69e7663c38f
ruby: fix the reproducibility issue

Apply some changes on the Ruby makefiles in order to fix the reproducibility:
- use a fixed timestamp,
- sort linked objects,
- doesn't use the current date,
- and use UTC date.

[YOCTO #14268]

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59b07ab51ff932a4632a31675445ba4192bae36b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch [new file with mode: 0644]
meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch [new file with mode: 0644]
meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch [new file with mode: 0644]
meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch [new file with mode: 0644]
meta/recipes-devtools/ruby/ruby_3.0.1.bb