The docker container once run only propose the local yocto build in the image or the tip of the same yocto branch. I would like to enable this docker image to support more branches.
Yet, within the image if I go under /home/usersetup/poky and do git checkout -b origin/ I get
toasteruser@6b5c7e6985b2:/home/usersetup/poky$ git checkout -b daisy origin/daisy
fatal: Cannot update paths and switch to branch 'daisy' at the same time.
Did you intend to checkout 'origin/daisy' which can not be resolved as commit?
toasteruser@6b5c7e6985b2:/home/usersetup/poky$ git fetch
error: cannot open .git/FETCH_HEAD: Permission denied
As such, I think the dockerfile need to fetch the origin fully to enable retreiving more branches.
The docker container once run only propose the local yocto build in the image or the tip of the same yocto branch. I would like to enable this docker image to support more branches.
Yet, within the image if I go under /home/usersetup/poky and do git checkout -b origin/ I get
toasteruser@6b5c7e6985b2:/home/usersetup/poky$ git checkout -b daisy origin/daisy
fatal: Cannot update paths and switch to branch 'daisy' at the same time.
Did you intend to checkout 'origin/daisy' which can not be resolved as commit?
toasteruser@6b5c7e6985b2:/home/usersetup/poky$ git fetch
error: cannot open .git/FETCH_HEAD: Permission denied
As such, I think the dockerfile need to fetch the origin fully to enable retreiving more branches.