ref-manual: system-requirements.rst: simplify supported distro requirements

- This allows to continue sharing the updated Ubuntu/Debian requirements
  with the brief-yoctoprojectqs/index.rst without indentation mismatches
  (caused by using the same macro in two different contexts: in direct
  text and in a bullet list).

- Update poky.yaml.in to adapt the number of spaces at the beginning
  of lines.

- brief-yoctoprojectqs/index.rst: fix bad number of spaces
  before quote block.

(From yocto-docs rev: 38a3228f8981674bc75de135246c4f9eff7b43a1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Opdenacker
2023-03-15 18:50:10 +01:00
committed by Richard Purdie
parent 443a9f2658
commit ee1a0825b7
3 changed files with 42 additions and 59 deletions

View File

@@ -70,11 +70,9 @@ Build Host Packages
You must install essential host packages on your build host. The
following command installs the host packages based on an Ubuntu
distribution:
distribution::
.. code-block:: shell
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
.. note::

View File

@@ -14,7 +14,7 @@ UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git diffstat unzip texinfo gcc \
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
python3-subunit mesa-common-dev zstd liblz4-tool file locales
\n\ $ sudo locale-gen en_US.UTF-8"
\n\ $ sudo locale-gen en_US.UTF-8"
FEDORA_HOST_PACKAGES_ESSENTIAL : "gawk make wget tar bzip2 gzip python3 unzip perl patch \
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
@@ -25,12 +25,12 @@ OPENSUSE_HOST_PACKAGES_ESSENTIAL : "python gcc gcc-c++ git chrpath make wget pyt
diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
python3-pexpect xz which python3-Jinja2 Mesa-libEGL1 libSDL-devel rpcgen Mesa-dri-devel \
zstd lz4 bzip2 gzip hostname
\n\ $ sudo pip3 install GitPython"
\n\ $ sudo pip3 install GitPython"
ALMALINUX_HOST_PACKAGES_ESSENTIAL : "-y epel-release
\n\ $ sudo yum install dnf-plugins-core
\n\ $ sudo dnf config-manager --set-enabled crb
\n\ $ sudo dnf makecache
\n\ $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
\n\ $ sudo yum install dnf-plugins-core
\n\ $ sudo dnf config-manager --set-enabled crb
\n\ $ sudo dnf makecache
\n\ $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath ccache \
socat perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip \
python3-GitPython python3-jinja2 python3-pexpect xz which SDL-devel \

View File

@@ -110,8 +110,10 @@ function.
Ubuntu and Debian
-----------------
Here are the required packages by function given a
supported Ubuntu or Debian Linux distribution:
Here are the packages needed to build an image on a headless system
with a supported Ubuntu or Debian Linux distribution::
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
.. note::
@@ -123,80 +125,63 @@ supported Ubuntu or Debian Linux distribution:
$ sudo apt build-dep qemu
$ sudo apt remove oss4-dev
- *Essentials:* Packages needed to build an image on a headless system::
Here are the packages needed to build Project documentation manuals::
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
- *Documentation:* Packages needed if you are going to build out the
Yocto Project documentation manuals::
$ sudo apt install make python3-pip inkscape texlive-latex-extra
&PIP3_HOST_PACKAGES_DOC;
$ sudo apt install make python3-pip inkscape texlive-latex-extra
&PIP3_HOST_PACKAGES_DOC;
Fedora Packages
---------------
Here are the required packages by function given a
supported Fedora Linux distribution:
Here are the packages needed to build an image on a headless system
with a supported Fedora Linux distribution::
- *Essentials:* Packages needed to build an image for a headless
system::
$ sudo dnf install &FEDORA_HOST_PACKAGES_ESSENTIAL;
$ sudo dnf install &FEDORA_HOST_PACKAGES_ESSENTIAL;
Here are the packages needed to build Project documentation manuals::
- *Documentation:* Packages needed if you are going to build out the
Yocto Project documentation manuals::
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
openSUSE Packages
-----------------
Here are the required packages by function given a
supported openSUSE Linux distribution:
Here are the packages needed to build an image on a headless system
with a supported openSUSE distribution::
- *Essentials:* Packages needed to build an image for a headless
system::
$ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL;
$ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL;
Here are the packages needed to build Project documentation manuals::
- *Documentation:* Packages needed if you are going to build out the
Yocto Project documentation manuals::
$ sudo zypper install make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
$ sudo zypper install make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
AlmaLinux Packages
------------------
Here are the required packages by function given a
supported AlmaLinux Linux distribution:
Here are the packages needed to build an image on a headless system
with a supported AlmaLinux distribution::
- *Essentials:* Packages needed to build an image for a headless
system::
$ sudo dnf install &ALMALINUX8_HOST_PACKAGES_ESSENTIAL;
$ sudo dnf install &ALMALINUX8_HOST_PACKAGES_ESSENTIAL;
.. note::
.. note::
- Extra Packages for Enterprise Linux (i.e. ``epel-release``) is
a collection of packages from Fedora built on RHEL/CentOS for
easy installation of packages not included in enterprise Linux
by default. You need to install these packages separately.
- Extra Packages for Enterprise Linux (i.e. ``epel-release``) is
a collection of packages from Fedora built on RHEL/CentOS for
easy installation of packages not included in enterprise Linux
by default. You need to install these packages separately.
- The ``PowerTools/CRB`` repo provides additional packages such as
``rpcgen`` and ``texinfo``.
- The ``PowerTools/CRB`` repo provides additional packages such as
``rpcgen`` and ``texinfo``.
- The ``makecache`` command consumes additional Metadata from
``epel-release``.
- The ``makecache`` command consumes additional Metadata from
``epel-release``.
Here are the packages needed to build Project documentation manuals::
- *Documentation:* Packages needed if you are going to build out the
Yocto Project documentation manuals::
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
.. _system-requirements-buildtools: