]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Enable use_source_date_epoch_as_buildtime in package_rpm class
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 18 Feb 2021 14:25:16 +0000 (15:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Mar 2021 00:24:18 +0000 (00:24 +0000)
commit562e96ff4320765adca7bc7cf83150991ac08087
treec721889ef9069eb3276bb4bdb30331ea24bbbbca
parent4920c6ed8019e95f452d8e51e98127ba27077035
package_rpm: Enable use_source_date_epoch_as_buildtime in package_rpm class

Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.

This allows the rpms to be built reproducibly.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16721df6b3d0d3e681d9a1b3393417bd62b6275)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/package_rpm.bbclass