Template:Yocto Build Release IMX: Difference between revisions
From Variscite Wiki
No edit summary |
|||
Line 19: | Line 19: | ||
Then, install the following packages: | Then, install the following packages: | ||
{{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}| | {{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}| | ||
$ sudo apt-get install python3 python3-pip python3-pexpect \ | $ sudo apt-get install python3 python3-pip python3-pexpect \ | ||
Line 30: | Line 29: | ||
{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|16.04}} >= 0|{{Ubuntu16_Python}}|}}<!-- | {{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|16.04}} >= 0|{{Ubuntu16_Python}}|}}<!-- | ||
-->{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|22.04}} >= 0|{{Ubuntu22_Python}}|}} | -->{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|22.04}} >= 0|{{Ubuntu22_Python}}|}} | ||
Install Docker: | Install Docker: | ||
$ sudo apt update && sudo apt install docker.io qemu-user-static | $ sudo apt update && sudo apt install docker.io qemu-user-static | ||
Give permissions to run Docker without sudo: | Give permissions to run Docker without sudo: | ||
$ sudo usermod -aG docker ${USER} | $ sudo usermod -aG docker ${USER} | ||
Logout and login again for the permissions to take effect. | |||
| | | | ||