summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-03-02 19:40:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-20 13:16:52 +0000
commit443a9f2658d137def30e54fa6f7c4aab95c861f0 (patch)
treee5de143dec2c124e9d6d3f41d9de98952c9f68e6
parent0eb826a7987951369c81e65d456a7804c54cc859 (diff)
downloadpoky-443a9f2658d137def30e54fa6f7c4aab95c861f0.tar.gz
poky.yaml.in, system-requirements.rst: update system requirements
- Update system requirements after making tests on basic Docker containers of: - Ubuntu 22.04 - Fedora 37 - OpenSuse Leap 15.4 - AlmaLinux 9 - Including the need to have the en_US.UTF-8 locale on the system. - Rename the CENTOS8_HOST_PACKAGES_ESSENTIAL macro to ALMALINUX_HOST_PACKAGES_ESSENTIAL As for the other distros, stop refering to a specific version of AlmaLinux. We mention the supported versions in the system-requirements.rst file anyway. - Remove the unused CENTOS7_HOST_PACKAGES_ESSENTIAL macro (From yocto-docs rev: f8b8680ff1f54b02572f240966169b9e129b05b1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Randy MacLeod <randy.macleod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/poky.yaml.in21
-rw-r--r--documentation/ref-manual/system-requirements.rst10
2 files changed, 13 insertions, 18 deletions
diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in
index cdccf6f3ca..44654aa62f 100644
--- a/documentation/poky.yaml.in
+++ b/documentation/poky.yaml.in
@@ -13,33 +13,28 @@ YOCTO_RELEASE_DL_URL : "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;"
13UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git diffstat unzip texinfo gcc \ 13UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git diffstat unzip texinfo gcc \
14 build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ 14 build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
15 xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ 15 xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
16 python3-subunit mesa-common-dev zstd liblz4-tool" 16 python3-subunit mesa-common-dev zstd liblz4-tool file locales
17 \n\ $ sudo locale-gen en_US.UTF-8"
17FEDORA_HOST_PACKAGES_ESSENTIAL : "gawk make wget tar bzip2 gzip python3 unzip perl patch \ 18FEDORA_HOST_PACKAGES_ESSENTIAL : "gawk make wget tar bzip2 gzip python3 unzip perl patch \
18 diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ 19 diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
19 ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \ 20 ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
20 python3-pexpect findutils which file cpio python python3-pip xz python3-GitPython \ 21 python3-pexpect findutils which file cpio python python3-pip xz python3-GitPython \
21 python3-jinja2 SDL-devel rpcgen mesa-libGL-devel perl-FindBin perl-File-Compare \ 22 python3-jinja2 SDL-devel rpcgen mesa-libGL-devel perl-FindBin perl-File-Compare \
22 perl-File-Copy perl-locale zstd lz4" 23 perl-File-Copy perl-locale zstd lz4 hostname glibc-langpack-en"
23OPENSUSE_HOST_PACKAGES_ESSENTIAL : "python gcc gcc-c++ git chrpath make wget python-xml \ 24OPENSUSE_HOST_PACKAGES_ESSENTIAL : "python gcc gcc-c++ git chrpath make wget python-xml \
24 diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \ 25 diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
25 python3-pexpect xz which python3-Jinja2 Mesa-libEGL1 libSDL-devel rpcgen Mesa-dri-devel \ 26 python3-pexpect xz which python3-Jinja2 Mesa-libEGL1 libSDL-devel rpcgen Mesa-dri-devel \
26 zstd lz4 27 zstd lz4 bzip2 gzip hostname
27 \n\ $ sudo pip3 install GitPython" 28 \n\ $ sudo pip3 install GitPython"
28CENTOS7_HOST_PACKAGES_ESSENTIAL : "-y epel-release 29ALMALINUX_HOST_PACKAGES_ESSENTIAL : "-y epel-release
29 \n\ $ sudo yum makecache 30 \n\ $ sudo yum install dnf-plugins-core
30 \n\ $ sudo yum install gawk make wget tar bzip2 gzip python3 unzip perl patch \ 31 \n\ $ sudo dnf config-manager --set-enabled crb
31 diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
32 perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip xz \
33 which SDL-devel mesa-libGL-devel zstd lz4
34 \n\ $ sudo pip3 install GitPython jinja2"
35CENTOS8_HOST_PACKAGES_ESSENTIAL : "-y epel-release
36 \n\ $ sudo dnf config-manager --set-enabled PowerTools
37 \n\ $ sudo dnf makecache 32 \n\ $ sudo dnf makecache
38 \n\ $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \ 33 \n\ $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
39 diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath ccache \ 34 diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath ccache \
40 socat perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip \ 35 socat perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip \
41 python3-GitPython python3-jinja2 python3-pexpect xz which SDL-devel \ 36 python3-GitPython python3-jinja2 python3-pexpect xz which SDL-devel \
42 rpcgen mesa-libGL-devel zstd lz4" 37 rpcgen mesa-libGL-devel zstd lz4 cpio glibc-langpack-en"
43PIP3_HOST_PACKAGES_DOC : "$ sudo pip3 install sphinx sphinx_rtd_theme pyyaml" 38PIP3_HOST_PACKAGES_DOC : "$ sudo pip3 install sphinx sphinx_rtd_theme pyyaml"
44MIN_PYTHON_VERSION : "3.8.0" 39MIN_PYTHON_VERSION : "3.8.0"
45MIN_TAR_VERSION : "1.28" 40MIN_TAR_VERSION : "1.28"
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst
index 38d4aaf5a7..1bbe7b894d 100644
--- a/documentation/ref-manual/system-requirements.rst
+++ b/documentation/ref-manual/system-requirements.rst
@@ -168,16 +168,16 @@ supported openSUSE Linux distribution:
168 &PIP3_HOST_PACKAGES_DOC; 168 &PIP3_HOST_PACKAGES_DOC;
169 169
170 170
171AlmaLinux-8 Packages 171AlmaLinux Packages
172-------------------- 172------------------
173 173
174Here are the required packages by function given a 174Here are the required packages by function given a
175supported AlmaLinux-8 Linux distribution: 175supported AlmaLinux Linux distribution:
176 176
177- *Essentials:* Packages needed to build an image for a headless 177- *Essentials:* Packages needed to build an image for a headless
178 system:: 178 system::
179 179
180 $ sudo dnf install &CENTOS8_HOST_PACKAGES_ESSENTIAL; 180 $ sudo dnf install &ALMALINUX8_HOST_PACKAGES_ESSENTIAL;
181 181
182 .. note:: 182 .. note::
183 183
@@ -186,7 +186,7 @@ supported AlmaLinux-8 Linux distribution:
186 easy installation of packages not included in enterprise Linux 186 easy installation of packages not included in enterprise Linux
187 by default. You need to install these packages separately. 187 by default. You need to install these packages separately.
188 188
189 - The ``PowerTools`` repo provides additional packages such as 189 - The ``PowerTools/CRB`` repo provides additional packages such as
190 ``rpcgen`` and ``texinfo``. 190 ``rpcgen`` and ``texinfo``.
191 191
192 - The ``makecache`` command consumes additional Metadata from 192 - The ``makecache`` command consumes additional Metadata from