Search code examples
gitlabyocto

Yocto Clone GitLab Repo


I can successfully build an image using code pulled from GitHub, the project will be hosted on GitLab. I have hosted the same code on GitLab but I can not get Yocto to find my repo. I have tried many things

SRC_URI = "git://git@gitlab.com/MichaelBMiner:~/simpledaemon_gl.git;protocol=https"
SRC_URI = "git://git@gitlab.com/MichaelBMiner:~/simpledaemon_gl.git;protocol=http"
SRC_URI = "git://git@gitlab.com/MichaelBMiner/simpledaemon_gl.git;protocol=https"
SRC_URI = "git://git@gitlab.com/MichaelBMiner/simpledaemon_gl.git;protocol=http"
SRC_URI = "git://git@gitlab.com/MichaelBMiner/simpledaemon_gl.git"
SRC_URI = "git://gitlab.com/MichaelBMiner/simpledaemon_gl.git;protocol=https"

I am not sure what I am missing, but nothing seems to work. I looked over the https://git.yoctoproject.org/poky/plain/bitbake/lib/bb/fetch2/git.py documentation and GitLab is supported. I cannot find any known bugs/issues.


Solution

  • SRC_URI = "git://gitlab.com/MichaelBMiner/simpledaemon_gl.git;protocol=https;branch=main"