summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ptest-runner/ptest-runner_2.3.2.bb
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-07-28 11:14:26 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-22 13:27:37 +0000
commita0a4838076388720eef88ad98776bba6a3e12566 (patch)
treeac6c37bbb2d7a91d7fa4bcb4e274e3e0e576c77b /meta/recipes-support/ptest-runner/ptest-runner_2.3.2.bb
parent0d4dea01892734417264757ca5fd5a85874bb514 (diff)
downloadpoky-a0a4838076388720eef88ad98776bba6a3e12566.tar.gz
lib/oe/reproducible.py: Fix git HEAD check
The check for a git HEAD still wasn't quite correct because it was using the .git directory as the current working directory. Instead, it should be passed as the --git-dir argument when running git. Running `git rev-parse HEAD` in a .git directory with no HEAD reports 'HEAD' and exits with success but then 'git log' will fail, which is not what we want. (From OE-Core rev: 31f00ec9c6ab5fe74f1ba59f79322497ef8f4dc7) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cdbd47dd7e1657b91b65a0940b7cbf119764240f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ptest-runner/ptest-runner_2.3.2.bb')
0 files changed, 0 insertions, 0 deletions