summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-03-17 22:30:11 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-01 14:34:26 +0100
commit9e473d348d9e0db34e03446065c6c48d36964e1e (patch)
tree956ca1c373b3a48f6fcd0e41066702e97aa0c3e7 /meta
parent97075af9e9a691276cd417f1181ca73223f52d1c (diff)
downloadopenembedded-core-9e473d348d9e0db34e03446065c6c48d36964e1e.tar.gz
openembedded-core-9e473d348d9e0db34e03446065c6c48d36964e1e.tar.bz2
openembedded-core-9e473d348d9e0db34e03446065c6c48d36964e1e.zip
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 <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-yocto.bbclass7
1 files changed, 0 insertions, 7 deletions
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}`