]> 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>
Fri, 19 Feb 2021 10:59:57 +0000 (10:59 +0000)
commitf16721df6b3d0d3e681d9a1b3393417bd62b6275
tree82f5d7ab86fe4d929378a6ead2a27aa857cab2aa
parentf7b32e0d5bb9c80f6b37ed8b7f0bd29c562d3f70
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>
meta/classes/package_rpm.bbclass