summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/README.hardware
diff options
context:
space:
mode:
authorPaul Barker <paul@pbarker.dev>2021-08-02 11:44:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-09 10:19:42 +0100
commit6e2b2ab438e08a080d85a2ef24e5ea1f16390204 (patch)
treeccdb668a59e867f11ec04e91476a38249ce5ee41 /meta-yocto-bsp/README.hardware
parentf4526a6e7dbb9ec16ccd579d9746842e14634849 (diff)
downloadpoky-6e2b2ab438e08a080d85a2ef24e5ea1f16390204.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: 0c8d643d7b474a845588ad7dbf86f85a9aad5c49) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit af2a9c92d4498492ca23388c7b4bbed48abdc4d7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/README.hardware')
0 files changed, 0 insertions, 0 deletions