summaryrefslogtreecommitdiffstats
path: root/meta/COPYING.MIT
diff options
context:
space:
mode:
authorPaul Barker <paul@pbarker.dev>2021-08-02 11:44:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 10:38:26 +0100
commita185e98371bb63950f4549319b9a3cdf7272d0f7 (patch)
treeab2999a42f28355f9ba17a3ded535923b90f0e96 /meta/COPYING.MIT
parent103b9f442bb2b9cd1994a75a5d9bfbbdd9b2f1f3 (diff)
downloadpoky-a185e98371bb63950f4549319b9a3cdf7272d0f7.tar.gz
kernel-yocto: Simplify no git repo case in do_kernel_checkout
If the kernel sources are not fetched via git, a local git repository is created in do_kernel_checkout. In this case we know that there will be no remote branches and we will already be on the correct branch (since only one branch will exist). So we can simplify things by skipping these steps. This also removes the assumption that the default git branch name will be "master". Prior to this change, the final git checkout command in do_kernel_checkout could fail if a local git repo was created and the user had changed init.defaultBranch in their gitconfig. (From OE-Core rev: af2a9c92d4498492ca23388c7b4bbed48abdc4d7) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/COPYING.MIT')
0 files changed, 0 insertions, 0 deletions