mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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. (From OE-Core rev: a9b6550d3e2f5bf21fd05a17bca3e57c5b74e057) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8a5b1c771a
commit
254bc3a283
@@ -230,12 +230,6 @@ do_kernel_checkout() {
|
|||||||
|
|
||||||
machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}"
|
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
|
# convert any remote branches to local tracking ones
|
||||||
for i in `git branch -a --no-color | grep remotes | grep -v HEAD`; do
|
for i in `git branch -a --no-color | grep remotes | grep -v HEAD`; do
|
||||||
b=`echo $i | cut -d' ' -f2 | sed 's%remotes/origin/%%'`;
|
b=`echo $i | cut -d' ' -f2 | sed 's%remotes/origin/%%'`;
|
||||||
|
|||||||
Reference in New Issue
Block a user