]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: detect and avoid branch revision checking for AUTOREV
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 16 May 2011 15:42:28 +0000 (11:42 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 May 2011 13:38:52 +0000 (14:38 +0100)
commitb4f1845f7cf42059984112e3f41a323b4c9d6dfd
tree70de03c0baf4a7c23c459c40caee246bc85b0935
parentfc626a1badc8260ac8f4d44db5c40a6072d3956c
linux-yocto: detect and avoid branch revision checking for AUTOREV

When a BSP or layer specifies an AUTOREV for SRCREV, the logic
that matches expected vs real branch heads doesn't apply. We
always want the latest.

To solve the issues with invalid git revs causing validation
failures, we detect the AUTOINC value and do a early return,
skipping validation.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb