diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-17 22:30:11 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 14:35:39 +0100 |
commit | 8a5b1c771a47c7867e98a6e1f641898c01a545b4 (patch) | |
tree | 1af210ae070658a28789ea1b49576f5e7260c6cf /meta | |
parent | 7097cdf14a1ca06a5e1de8c97db9638b70bc56fd (diff) | |
download | ast2050-yocto-poky-8a5b1c771a47c7867e98a6e1f641898c01a545b4.zip ast2050-yocto-poky-8a5b1c771a47c7867e98a6e1f641898c01a545b4.tar.gz |
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.
(From OE-Core rev: 9e473d348d9e0db34e03446065c6c48d36964e1e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 4938712..357a79b 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}` |