Template:Yocto Build Release IMX: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 252: | Line 252: | ||
Create a /opt/yocto_downloads directory and set its permissions: | Create a /opt/yocto_downloads directory and set its permissions: | ||
<pre> | <pre> | ||
{{#var:SHELL_PROMPT}} sudo mkdir /opt/yocto_downloads | |||
{{#var:SHELL_PROMPT}} sudo chmod 777 /opt/yocto_downloads/ | |||
</pre> | </pre> | ||
Direct downloads to it, by replacing 'DL_DIR ?= "${BSPDIR}/downloads/"' with 'DL_DIR = "/opt/yocto_downloads/"' in conf/local.conf under your build directory: | Direct downloads to it, by replacing 'DL_DIR ?= "${BSPDIR}/downloads/"' with 'DL_DIR = "/opt/yocto_downloads/"' in conf/local.conf under your build directory: | ||
<pre> | <pre> | ||
{{#var:SHELL_PROMPT}} sed -i 's/DL_DIR ?= "${BSPDIR}\/downloads/DL_DIR = "\/opt\/yocto_downloads/g' conf/local.conf | |||
</pre> | </pre> | ||