]> code.ossystems Code Review - openembedded-core.git/commit
bash: Remove .build files for reproducible builds
authorJoshua Watt <jpewhacker@gmail.com>
Fri, 21 Jun 2019 13:33:56 +0000 (08:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jun 2019 15:19:04 +0000 (16:19 +0100)
commit9754be5c22de877bd53226908d03d2eef5751808
treed65234ddc4613de2fd83417c842bc1cb392f306e
parent9297cabb0aca8212d3cc74f8d26e43abc02ded87
bash: Remove .build files for reproducible builds

Bash has an internal "build number" that it tracks and automatically
increments ever time a given builds is made from the same sandbox.
However, this can make builds non-reproducible in the event that a build
directory is reused multiple times.

Remove the .build files after every build if reproducible builds have
been requested which will reset the build build number for the next
build.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/bash/bash.inc