mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
bash: Ensure deterministic build
Bash keeps a count of the number of times make was invoked on a directory and changes the output versioning accordingly. We want deterministic output so disable this behaviour. (From OE-Core rev: 97d6a8452779fe511a354a70a72dd338f52a92cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 13a039e03195a47c750d5901e96fe81cf523481f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -62,6 +62,11 @@ do_compile_ptest () {
|
||||
oe_runmake buildtest
|
||||
}
|
||||
|
||||
do_install_prepend () {
|
||||
# Ensure determinism as this counter increases for each make call
|
||||
rm -f ${B}/.build
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
# Move /usr/bin/bash to /bin/bash, if need
|
||||
if [ "${base_bindir}" != "${bindir}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user