From: "Mark Hatle" <mark.hatle@kernel.crashing.org>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][PATCH 0/2] Fixes for reproducible build and externalsrc
Date: Wed, 8 Sep 2021 21:50:58 -0500 [thread overview]
Message-ID: <20210909025100.119427-1-mark.hatle@kernel.crashing.org> (raw)
Two fixes, the first one ensures that the BUILD_REPRODUCIBLE_BINARIES variable
actually does something useful. 1 (default) normal behavior, anything else it
is off and regular behavior works.
The second makes the reproducible build work properly with externalsrc.
To test this, I did:
bitbake bash
rpm -qp tmp/deploy/.../bash-...rpm --queryformat '[%{FILENAMES} %{FILEMTIMES}\n]'
cleanall the above, and then add:
BUILD_REPRODUCIBLE_BINARIES:pn-bash = '0'
repeat the test...
You can do the same with externalsrc via a bbappen adding externalsrc and repeat
the previous tests and get expected results.
Mark Hatle (2):
reproducible_build: Honor BUILD_REPRODUCIBLE_BINARIES
reproducible_build: Work with externalsrc
meta/classes/reproducible_build.bbclass | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
--
2.17.1
next reply other threads:[~2021-09-09 2:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 2:50 Mark Hatle [this message]
2021-09-09 2:50 ` [OE-core][PATCH 1/2] reproducible_build: Honor BUILD_REPRODUCIBLE_BINARIES Mark Hatle
2021-09-09 9:16 ` Peter Kjellerstedt
2021-09-09 10:18 ` Richard Purdie
2021-09-10 0:20 ` Douglas
2021-09-09 2:51 ` [OE-core][PATCH 2/2] reproducible_build: Work with externalsrc Mark Hatle
2021-09-10 0:32 ` Douglas
[not found] ` <796dd7e7-6a0d-a585-7765-bb5621db6128@gmail.com>
2021-09-10 1:12 ` Douglas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210909025100.119427-1-mark.hatle@kernel.crashing.org \
--to=mark.hatle@kernel.crashing.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox