]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/reproducible: Fix error when no git HEAD
authorJoshua Watt <JPEWhacker@gmail.com>
Mon, 20 Jul 2020 17:56:32 +0000 (12:56 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jul 2020 11:45:52 +0000 (12:45 +0100)
commita64caca5b5dbe4a76acd0b5709b2c3e75b245863
tree96f3e30f561445de46fe3353102d6ca6df304c58
parenta7ede90955bc0c8bec1cbb3cab498ef2583b2f4e
lib/oe/reproducible: Fix error when no git HEAD

Fixes an error that occurs when attempting to get the timestamp of the
latest commit when there is no HEAD in the git repository. The easiest
way to trigger this condition is to use the 'subdir=' option when
specifying a 'git://' SRC_URI.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/reproducible.py