diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-10 11:00:19 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-12-18 06:43:48 -0800 |
| commit | 52e57af6a89dbcf197e9502e2ae854206553103d (patch) | |
| tree | 0420a965f7efb2bbc6c7800dd44b5bee1ce40af9 /documentation/ref-manual | |
| parent | ccdf8c615fefd45cce2d8e38493c36dd824f6886 (diff) | |
| download | poky-52e57af6a89dbcf197e9502e2ae854206553103d.tar.gz | |
Gather dependencies in poky.yaml.in
We used to have packages here and there in system-requirements.rst for
each distro. Instead, gather all the dependencies in poky.yaml.in so we
have an overview of what we provide for each distro.
Use yaml ">" to list the dependencies in alphabetical order, one entry
per line, which makes them easier to read and compare among distros.
Rename UBUNTU_… variables to UBUNTU_DEBIAN_…, since these are used for
both distros.
(From yocto-docs rev: 33c0656706f5110381681b212877d39ec2148cc6)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1ed6118b7cf1b5dcbfca753c83fa30fb97bf44ad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/system-requirements.rst | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst index 43c3c5834b..0b40c3f5e5 100644 --- a/documentation/ref-manual/system-requirements.rst +++ b/documentation/ref-manual/system-requirements.rst | |||
| @@ -150,7 +150,7 @@ Ubuntu and Debian | |||
| 150 | Here are the packages needed to build an image on a headless system | 150 | Here are the packages needed to build an image on a headless system |
| 151 | with a supported Ubuntu or Debian Linux distribution:: | 151 | with a supported Ubuntu or Debian Linux distribution:: |
| 152 | 152 | ||
| 153 | $ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL; | 153 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL; |
| 154 | 154 | ||
| 155 | You also need to ensure you have the ``en_US.UTF-8`` locale enabled:: | 155 | You also need to ensure you have the ``en_US.UTF-8`` locale enabled:: |
| 156 | 156 | ||
| @@ -181,8 +181,7 @@ If this is not the case, you can reconfigure the ``locales`` package to add it | |||
| 181 | 181 | ||
| 182 | Here are the packages needed to build Project documentation manuals:: | 182 | Here are the packages needed to build Project documentation manuals:: |
| 183 | 183 | ||
| 184 | $ sudo apt install git make inkscape texlive-latex-extra | 184 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC; |
| 185 | $ sudo apt install sphinx python3-saneyaml python3-sphinx-rtd-theme | ||
| 186 | 185 | ||
| 187 | Fedora Packages | 186 | Fedora Packages |
| 188 | --------------- | 187 | --------------- |
| @@ -194,8 +193,8 @@ with a supported Fedora Linux distribution:: | |||
| 194 | 193 | ||
| 195 | Here are the packages needed to build Project documentation manuals:: | 194 | Here are the packages needed to build Project documentation manuals:: |
| 196 | 195 | ||
| 197 | $ sudo dnf install git make python3-pip which inkscape texlive-fncychap | 196 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC; |
| 198 | &PIP3_HOST_PACKAGES_DOC; | 197 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
| 199 | 198 | ||
| 200 | openSUSE Packages | 199 | openSUSE Packages |
| 201 | ----------------- | 200 | ----------------- |
| @@ -204,11 +203,12 @@ Here are the packages needed to build an image on a headless system | |||
| 204 | with a supported openSUSE distribution:: | 203 | with a supported openSUSE distribution:: |
| 205 | 204 | ||
| 206 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; | 205 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; |
| 206 | $ sudo pip3 install &OPENSUSE_PIP3_HOST_PACKAGES_ESSENTIAL; | ||
| 207 | 207 | ||
| 208 | Here are the packages needed to build Project documentation manuals:: | 208 | Here are the packages needed to build Project documentation manuals:: |
| 209 | 209 | ||
| 210 | $ sudo zypper install git make python3-pip which inkscape texlive-fncychap | 210 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC; |
| 211 | &PIP3_HOST_PACKAGES_DOC; | 211 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
| 212 | 212 | ||
| 213 | 213 | ||
| 214 | AlmaLinux Packages | 214 | AlmaLinux Packages |
| @@ -217,6 +217,10 @@ AlmaLinux Packages | |||
| 217 | Here are the packages needed to build an image on a headless system | 217 | Here are the packages needed to build an image on a headless system |
| 218 | with a supported AlmaLinux distribution:: | 218 | with a supported AlmaLinux distribution:: |
| 219 | 219 | ||
| 220 | $ sudo dnf install -y epel-release | ||
| 221 | $ sudo yum install dnf-plugins-core | ||
| 222 | $ sudo dnf config-manager --set-enabled crb | ||
| 223 | $ sudo dnf makecache | ||
| 220 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL; | 224 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL; |
| 221 | 225 | ||
| 222 | .. note:: | 226 | .. note:: |
| @@ -234,8 +238,8 @@ with a supported AlmaLinux distribution:: | |||
| 234 | 238 | ||
| 235 | Here are the packages needed to build Project documentation manuals:: | 239 | Here are the packages needed to build Project documentation manuals:: |
| 236 | 240 | ||
| 237 | $ sudo dnf install git make python3-pip which inkscape texlive-fncychap | 241 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC; |
| 238 | &PIP3_HOST_PACKAGES_DOC; | 242 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
| 239 | 243 | ||
| 240 | .. _system-requirements-buildtools: | 244 | .. _system-requirements-buildtools: |
| 241 | 245 | ||
