From: Bruce Ashfield Date: Tue, 18 Mar 2014 02:30:11 +0000 (-0400) Subject: kernel-yocto: remove containing branch check X-Git-Tag: 2015-4~1689 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9e473d348d9e0db34e03446065c6c48d36964e1e;p=openembedded-core.git kernel-yocto: remove containing branch check The bitbake fetcher now enforces that a commit is contained by a branch, so this code can be dropped from do_validate_branches. Signed-off-by: Bruce Ashfield --- diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 4938712c7c..357a79b123 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -351,13 +351,6 @@ do_validate_branches() { exit 1 fi - containing_branches=`git branch --contains $machine_srcrev | sed 's/^..//'` - if [ -z "$containing_branches" ]; then - echo "ERROR: SRCREV was set to \"$machine_srcrev\", but no branches" - echo " contain this commit" - exit 1 - fi - ## KMETA branch validation. ## We do validation if the meta branch exists, and AUTOREV hasn't been set meta_head=`git show-ref -s --heads ${KMETA}`