]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: always checkout machine branch when existing validate_branches
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 21 Feb 2014 05:01:00 +0000 (00:01 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2014 13:52:43 +0000 (13:52 +0000)
commit6eb63237c3bf48377f75e48e637d76108c8666df
tree02e88c0fa51047d115787849174933c3fefb21ba
parent97f2a81d6796ddaf7bbaab86c2ab9039673c732c
kernel-yocto: always checkout machine branch when existing validate_branches

The validate_branches routine is responsible for ensuring that the specified
SRCREV exists, and that the tree has been prepared for eventual patching
starting directly from that SRCREV.

On exit, the routine checks out the specified machine branch and the
preparation is complete .. except if a KMETA branch isn't used, we exit
early since the branch can't be validated.

To make the exit condition consistent for all cases, we can move the
KMETA validation inside a conditional and allow the same exit path for
both cases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel-yocto.bbclass