summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
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:04:53 +0100
commitbaba8cff4829f1459fe5119515fe4e8052d73705 (patch)
treefe4d810ec2ee5693f89e37746a57186e5114f66d /meta/recipes-kernel
parentfbd629745f80302f25bf0e758d25bec50eafc29f (diff)
downloadpoky-baba8cff4829f1459fe5119515fe4e8052d73705.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. (From OE-Core rev: 0ebf67e8b4f7aaf259d7abac4af645070d846ec8) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions