diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-07-28 11:14:26 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-29 11:37:31 +0100 |
commit | 20e9df57217c5f37817653d2c3d492f2d4d37623 (patch) | |
tree | 07f0f79a3671d62ca57b3d232292c33d0a0b8dde /scripts/buildhistory-diff | |
parent | 4e3240220bf8fc159ba5e797cb6040a3c74db222 (diff) | |
download | poky-3.2_M2.tar.gz |
lib/oe/reproducible.py: Fix git HEAD check3.2_M2
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: cdbd47dd7e1657b91b65a0940b7cbf119764240f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-diff')
0 files changed, 0 insertions, 0 deletions