Template:YOCTO ENV SETUP X SHORT FF: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 20: Line 20:
Then, install the following packages:
Then, install the following packages:


{{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}|
  {{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}|
Please make sure your host PC is running Ubuntu {{#var:UBUNTU_COMPAT}} 64-bit and is up to date:
  $ sudo apt-get update && sudo apt-get dist-upgrade
 
   $ 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 \
Line 33: 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.}}
|
|
   $ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \
   $ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \
   build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
   build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
Line 60: Line 68:
To learn more, please see Variscite's [[Docker_Build_Environment | Docker Build Environment]] guide.}}
To learn more, please see Variscite's [[Docker_Build_Environment | Docker Build Environment]] guide.}}
}}
}}
= Reference documentation =
= Reference documentation =
   {{#lst:Yocto_Platform_Customization|YOCTO_DOC_{{#var:YOCTO_VERSION}}}} <!--
   {{#lst:Yocto_Platform_Customization|YOCTO_DOC_{{#var:YOCTO_VERSION}}}} <!--

Latest revision as of 21:49, 28 October 2024