diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-10 11:00:19 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-12-16 05:58:03 -0800 |
| commit | 1a65cc847f72c39ef40f2c58d23a90b3e6f9d931 (patch) | |
| tree | 6a14d20752886c9d82bc022bd16d411437a956d3 /documentation/ref-manual/system-requirements.rst | |
| parent | 0bee34892d744458a5ed95550febfebd34d67c50 (diff) | |
| download | poky-1a65cc847f72c39ef40f2c58d23a90b3e6f9d931.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: 580b410c535f3b24f901cdbf011bf817038ba4c3)
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/system-requirements.rst')
| -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 5b0beab7c2..4db0d42777 100644 --- a/documentation/ref-manual/system-requirements.rst +++ b/documentation/ref-manual/system-requirements.rst | |||
| @@ -158,7 +158,7 @@ Ubuntu and Debian | |||
| 158 | Here are the packages needed to build an image on a headless system | 158 | Here are the packages needed to build an image on a headless system |
| 159 | with a supported Ubuntu or Debian Linux distribution:: | 159 | with a supported Ubuntu or Debian Linux distribution:: |
| 160 | 160 | ||
| 161 | $ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL; | 161 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL; |
| 162 | 162 | ||
| 163 | You also need to ensure you have the ``en_US.UTF-8`` locale enabled:: | 163 | You also need to ensure you have the ``en_US.UTF-8`` locale enabled:: |
| 164 | 164 | ||
| @@ -189,8 +189,7 @@ If this is not the case, you can reconfigure the ``locales`` package to add it | |||
| 189 | 189 | ||
| 190 | Here are the packages needed to build Project documentation manuals:: | 190 | Here are the packages needed to build Project documentation manuals:: |
| 191 | 191 | ||
| 192 | $ sudo apt install git make inkscape texlive-latex-extra | 192 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC; |
| 193 | $ sudo apt install sphinx python3-saneyaml python3-sphinx-rtd-theme | ||
| 194 | 193 | ||
| 195 | Fedora Packages | 194 | Fedora Packages |
| 196 | --------------- | 195 | --------------- |
| @@ -202,8 +201,8 @@ with a supported Fedora Linux distribution:: | |||
| 202 | 201 | ||
| 203 | Here are the packages needed to build Project documentation manuals:: | 202 | Here are the packages needed to build Project documentation manuals:: |
| 204 | 203 | ||
| 205 | $ sudo dnf install git make python3-pip which inkscape texlive-fncychap | 204 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC; |
| 206 | &PIP3_HOST_PACKAGES_DOC; | 205 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
| 207 | 206 | ||
| 208 | openSUSE Packages | 207 | openSUSE Packages |
| 209 | ----------------- | 208 | ----------------- |
| @@ -212,11 +211,12 @@ Here are the packages needed to build an image on a headless system | |||
| 212 | with a supported openSUSE distribution:: | 211 | with a supported openSUSE distribution:: |
| 213 | 212 | ||
| 214 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; | 213 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; |
| 214 | $ sudo pip3 install &OPENSUSE_PIP3_HOST_PACKAGES_ESSENTIAL; | ||
| 215 | 215 | ||
| 216 | Here are the packages needed to build Project documentation manuals:: | 216 | Here are the packages needed to build Project documentation manuals:: |
| 217 | 217 | ||
| 218 | $ sudo zypper install git make python3-pip which inkscape texlive-fncychap | 218 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC; |
| 219 | &PIP3_HOST_PACKAGES_DOC; | 219 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
| 220 | 220 | ||
| 221 | 221 | ||
| 222 | AlmaLinux Packages | 222 | AlmaLinux Packages |
| @@ -225,6 +225,10 @@ AlmaLinux Packages | |||
| 225 | Here are the packages needed to build an image on a headless system | 225 | Here are the packages needed to build an image on a headless system |
| 226 | with a supported AlmaLinux distribution:: | 226 | with a supported AlmaLinux distribution:: |
| 227 | 227 | ||
| 228 | $ sudo dnf install -y epel-release | ||
| 229 | $ sudo yum install dnf-plugins-core | ||
| 230 | $ sudo dnf config-manager --set-enabled crb | ||
| 231 | $ sudo dnf makecache | ||
| 228 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL; | 232 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL; |
| 229 | 233 | ||
| 230 | .. note:: | 234 | .. note:: |
| @@ -242,8 +246,8 @@ with a supported AlmaLinux distribution:: | |||
| 242 | 246 | ||
| 243 | Here are the packages needed to build Project documentation manuals:: | 247 | Here are the packages needed to build Project documentation manuals:: |
| 244 | 248 | ||
| 245 | $ sudo dnf install git make python3-pip which inkscape texlive-fncychap | 249 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC; |
| 246 | &PIP3_HOST_PACKAGES_DOC; | 250 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
| 247 | 251 | ||
| 248 | .. _system-requirements-buildtools: | 252 | .. _system-requirements-buildtools: |
| 249 | 253 | ||
