diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-18 21:08:33 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 14:34:26 +0100 |
commit | a9b6550d3e2f5bf21fd05a17bca3e57c5b74e057 (patch) | |
tree | 967bf168d6f516b28d33d9c34a77ce4a7473209d /meta | |
parent | 9e473d348d9e0db34e03446065c6c48d36964e1e (diff) | |
download | openembedded-core-a9b6550d3e2f5bf21fd05a17bca3e57c5b74e057.tar.gz openembedded-core-a9b6550d3e2f5bf21fd05a17bca3e57c5b74e057.tar.bz2 openembedded-core-a9b6550d3e2f5bf21fd05a17bca3e57c5b74e057.zip |
kernel-yocto: remove SRC_URI kbranch validation
We no longer need to check if the KBRANCH matches the branch specified
in the SRC_URI. This is taken care of by the fetcher at the beginning
and SRCREV ancestor validation after patching.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 357a79b123..3bef841ae8 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -230,12 +230,6 @@ do_kernel_checkout() { machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}" - if [ "${KBRANCH}" != "${machine_branch}" ]; then - echo "WARNING: The SRC_URI machine branch and KBRANCH are not the same." - echo " KBRANCH will be adjusted to match, but this typically is a" - echo " misconfiguration and should be checked." - fi - # convert any remote branches to local tracking ones for i in `git branch -a --no-color | grep remotes | grep -v HEAD`; do b=`echo $i | cut -d' ' -f2 | sed 's%remotes/origin/%%'`; |