Template:Yocto Build Release IMX: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
-->{{#vardefine:UBUNTU_COMPAT|{{#ifeq:{{#var:YOCTO_NAME}}|Zeus|18.04|{{#var:UBUNTU_COMPAT}}}}}}<!-- | -->{{#vardefine:UBUNTU_COMPAT|{{#ifeq:{{#var:YOCTO_NAME}}|Zeus|18.04|{{#var:UBUNTU_COMPAT}}}}}}<!-- | ||
-->{{#vardefine:UBUNTU_COMPAT|{{#ifexpr: {{#var:YOCTO_VERSION}} >= 3.1|18.04/20.04|{{#var:UBUNTU_COMPAT}}}}}}<!-- | -->{{#vardefine:UBUNTU_COMPAT|{{#ifexpr: {{#var:YOCTO_VERSION}} >= 3.1|18.04/20.04|{{#var:UBUNTU_COMPAT}}}}}}<!-- | ||
-->{{#vardefine:UBUNTU_COMPAT|{{#ifexpr: {{#var:YOCTO_VERSION}} >= 4.0|18.04/20.04/22.04|{{#var:UBUNTU_COMPAT}}}}}} | -->{{#vardefine:UBUNTU_COMPAT|{{#ifexpr: {{#var:YOCTO_VERSION}} >= 4.0|18.04/20.04/22.04|{{#var:UBUNTU_COMPAT}}}}}} | ||
= Installing required packages = | = Installing required packages = | ||
Line 61: | Line 56: | ||
$ mkdir -p ~/bin | $ mkdir -p ~/bin | ||
$ curl https://commondatastorage.googleapis.com/git-repo-downloads/ | |||
# For Ubuntu 20.04 and older, install repo 2.32 according to https://gerrit.googlesource.com/git-repo/+/HEAD/docs/python-support.md: | |||
$ curl https://commondatastorage.googleapis.com/git-repo-downloads/2.32 > ~/bin/repo | |||
# For Ubuntu 22.04 and newer, install the latest repo tool: | |||
$ curl https://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |||
# Give repo execute permissions and add it to the path: | |||
$ chmod a+x ~/bin/repo | $ chmod a+x ~/bin/repo | ||
$ export PATH=~/bin:$PATH | $ export PATH=~/bin:$PATH |