On Sat, Aug 5, 2017 at 3:07 PM, Joshua Watt <jpewhac...@gmail.com> wrote:

> If EXTERNALSRC points to a git submodule, the .git entry will not be a
> directory, but rather a file that points to the actual .git location (in
> the parent repository). If this still can't be resolved to a directory,
> ignore it and fall back to the non-git method for hashing.
>
> Signed-off-by: Joshua Watt <jpewhac...@gmail.com>
>

We shouldn’t be assuming knowledge of how .git works, IMO we should call
out to git rev-parse to query the info we need.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to