Template:Yocto Build Release IMX: Difference between revisions
From Variscite Wiki
Line 23: | Line 23: | ||
$ sudo apt-get install python3 python3-pip python3-pexpect \ | $ sudo apt-get install python3 python3-pip python3-pexpect \ | ||
python3-git python3-jinja2 python3-subunit python3-git liblz4-tool \ | python3-git python3-jinja2 python3-subunit python3-git liblz4-tool \ | ||
python3-jinja2 python3-subunit curl zstd | python3-jinja2 python3-subunit curl zstd | ||
For Ubuntu 20.04 and earlier, install python2: | For Ubuntu 20.04 and earlier, install python2: | ||
Line 30: | Line 30: | ||
{{#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: | |||
$ sudo apt update && sudo apt install docker.io qemu-user-static | |||
Give permissions to run Docker without sudo: | |||
$ sudo usermod -aG docker ${USER} | |||
{{Note|'''Note:''' Logout and login again for permissions to take effect. | |||
| | | | ||