Dears,
I am trying to build the yocto imx-image in a docker container according to chapter 3.1 Docker in spec <<i.MX Yocto Project User's Guide>>(Rev. LF5.15.5_1.0.0 — 31 March 2022).
I think the Docker has been setup successfully. I type docker info command in ubuntu 20.04 and system reply me with Server Version: 20.10.14.
I try to run these two command:
IMX_RELEASE=imx-5.10.35-2.0.0
sudo ./docker-run.sh ${IMX_RELEASE}/yocto-build.sh
but the system tips following fatal message:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: cannot make /opt/yocto/imx-5.10.35-2.0.0-build/.repo/repo directory: Permission denied
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
error: command 'sync' requires repo to be installed first.
Use "repo init" to install it here.
imx-5.10.35-2.0.0/yocto-build.sh: line 24: imx-setup-release.sh: No such file or directory
imx-5.10.35-2.0.0/yocto-build.sh: line 28: bitbake: command not found
Can anybody help to answer me? Thanks for your time.
Did you refer this README guide?
https://source.codeaurora.org/external/imx/imx-docker/tree/README.md