diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-10-12 23:53:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-24 17:36:17 +0100 |
commit | 11dafe84473a1197931f068e1c6e002bc461cefd (patch) | |
tree | b5dfd98cc610b76071b0e33b348c970284923764 /meta-yocto/conf | |
parent | 2f93628290ffedc4dd2c80e4c579574519b717dd (diff) | |
download | poky-11dafe84473a1197931f068e1c6e002bc461cefd.tar.gz |
kernel-yocto: fix branch validation for AUTOREV, non machine_meta kernels
The simplication of do_validate_branches missed a case where a custom
kernel can supply SRCREV="${AUTOREV}", and not use SRCREV_machine at all.
In this case, we will incorrectly try and test the tree for a non-existent
commit, and break the build.
By simplying the condition of the check to look for an empty SRCREV_machine,
we can skip manipulating the tree and testing for a SRCREV.
(From OE-Core rev: 212a4bd9b086365c022842a2ac6a2a25bd486002)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/conf')
0 files changed, 0 insertions, 0 deletions