Re: Offline Build #yocto


Martin Jansa
 

/opt/yocto_downloads or /opt/downloads?


On Mon, Jul 20, 2020 at 8:15 PM Amrun Nisha.R <amrunnishar@...> wrote:
I have updated the DL_DIR to the current build directory's downloads folder using sed command.

sed -i 's/DL_DIR ?= "${BSPDIR}\/downloads/DL_DIR = "\/opt\/yocto_downloads/g' conf/local.conf
 in place of /opt/downloads, I have provided the downloads location. It takes the newly provided downloads location. It will do the do_fetch after identifying the source code packages from the downloads folder. In downloads, the source code for each package is there. Normally when we try to bitbake, it will execute as do_unpack, do_patch, do_configure, do_compile, do_install, do_package and do_package_write in order. I have tried to copy the buildstats from the old location build/tmp/buildstats tp new build location. It compiles the source code from the downloads by do_compile but ends with the error with do_fetch error for ncurses packages. I don't know, where the compilation packages will be located.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.