Michael
Michael

Reputation: 543

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://[email protected]/MichaelBMiner:~/simpledaemon_gl.git;protocol=https"
SRC_URI = "git://[email protected]/MichaelBMiner:~/simpledaemon_gl.git;protocol=http"
SRC_URI = "git://[email protected]/MichaelBMiner/simpledaemon_gl.git;protocol=https"
SRC_URI = "git://[email protected]/MichaelBMiner/simpledaemon_gl.git;protocol=http"
SRC_URI = "git://[email protected]/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.

Upvotes: 2

Views: 703

Answers (1)

Oleksandr Kravchuk
Oleksandr Kravchuk

Reputation: 6327

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

Upvotes: 1

Related Questions