Open harishgoudb opened 1 year ago
To build Yocto on Macos you need to use a docker container. Native build is not supported. See https://github.com/rdar-lab/jfrog-cli-yocto-plugin#using-with-docker
Thanks @rdar-lab If I use a Docker container I get this error. How do I install "bitbake".
bandih@bandih-mac jfrog-cli-yocto-plugin % docker run --rm -it \
-v /Users/bandih/Downloads/Yocto/jfrog-cli-yocto-plugin/poky:/home/build/workspace \ -v /Users/bandih/.jfrog:/home/build/.frog \ -v yoctotmp:/home/build/workspace/build/tmp \ jfrog-yocto-builder bake core-image-minimal Running pre steps. Running directory=. Cleaning tmp folder Running Bit bake. target=core-image-minimal. This may take a long time.... Bitbake is not compatible with python v3 Please set up python v2 as your default python interpreter bash: bitbake: command not found exit status 127 bandih@bandih-mac jfrog-cli-yocto-plugin %
@rdar-lab Could you please assist
@rdar-lab can you provide a working example if possible?
Hi, bitbake command was part of the build back when I created this, and was on the scripts created when you bootstrap the project (meaning it is on the source folders after cloning pokey)
Also the build under container is based on the gmacario/build-yocto project. Please open an issue there to get that solved.
I am following the instructions provided in https://github.com/rdar-lab/jfrog-cli-yocto-plugin using the JFrog_CLI plugin. Could you please assist on below issue.
-mac poky % pwd /Users/bandih/pypi/jfrog-cli-yocto-plugin/poky
mac poky % jf jfrog-yocto bake core-image-minimal
Running pre steps. Running directory=. Cleaning tmp folder Running Bit bake. target=core-image-minimal. This may take a long time.... /Users/bandih/pypi/jfrog-cli-yocto-plugin/poky/scripts/oe-buildenv-internal: line 46: python: command not found BitBake requires Python 2.7.3 or later bash: bitbake: command not found exit status 127 exit status 127