summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kern-tools
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-09-06 15:47:28 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 23:01:52 +0100
commit0ebf67e8b4f7aaf259d7abac4af645070d846ec8 (patch)
tree1c5219a214f3317ba8093afade12d4f52cbd4ff3 /meta/recipes-kernel/kern-tools
parent410a4db2faec084a0e918dfce9fcb6c54d2aeaaf (diff)
downloadopenembedded-core-contrib-0ebf67e8b4f7aaf259d7abac4af645070d846ec8.tar.gz
kernel-yocto: improve error checking on non-git repos
While non-git kernel repos are not the preferred format for a kernel upstream, they are supported. Depending on the creator of the archive the expanded source directory name varies. If the recipe for the kernel doesn't properly set S to the right value, a cryptic git error message is produced. We can detect the situation and offer some advice on how to fix the issue. A second check is also added in this commit for archive based kernel repos which won't have a SRCREV to validate. If we have no SRCREV or SRCREV is INVALID, we can exit the branch validation step immediately. This saves yet another cryptic git error message and simplifies a custom tgz based recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kern-tools')
0 files changed, 0 insertions, 0 deletions