summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2024-12-10 11:00:19 +0100
committerSteve Sakoman <steve@sakoman.com>2024-12-17 12:58:11 -0800
commit0ee3614e0f637192e818446e3efccfd04e5ee8b4 (patch)
tree8d4b23a58867b817fc5b6daee60a91ae104df98e /documentation/ref-manual
parent13a641dffbfb64f8e0dbf6d213666edf608cf8e8 (diff)
downloadpoky-0ee3614e0f637192e818446e3efccfd04e5ee8b4.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: e365a6d5c59f72f4e6a81a0267cbfcda61502d45) 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.rst22
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
150Here are the packages needed to build an image on a headless system 150Here are the packages needed to build an image on a headless system
151with a supported Ubuntu or Debian Linux distribution:: 151with 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
155You also need to ensure you have the ``en_US.UTF-8`` locale enabled:: 155You 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
182Here are the packages needed to build Project documentation manuals:: 182Here 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
187Fedora Packages 186Fedora Packages
188--------------- 187---------------
@@ -194,8 +193,8 @@ with a supported Fedora Linux distribution::
194 193
195Here are the packages needed to build Project documentation manuals:: 194Here 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
200openSUSE Packages 199openSUSE Packages
201----------------- 200-----------------
@@ -204,11 +203,12 @@ Here are the packages needed to build an image on a headless system
204with a supported openSUSE distribution:: 203with 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
208Here are the packages needed to build Project documentation manuals:: 208Here 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
214AlmaLinux Packages 214AlmaLinux Packages
@@ -217,6 +217,10 @@ AlmaLinux Packages
217Here are the packages needed to build an image on a headless system 217Here are the packages needed to build an image on a headless system
218with a supported AlmaLinux distribution:: 218with 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
235Here are the packages needed to build Project documentation manuals:: 239Here 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