sdk-manual: appendix-obtain: replace directory structure PNG with a parsed-literal block

This PNG is totally unnecessary and makes accessibility much worse, so
let's simply replace the PNG with a parsed-literal block showing the
same directory layout with the same highlighted placeholders.

While at it, update the layout to match the more recent one (5.0.15) and
have it alphabetically sorted (mixed files and directories).

The placeholders are highlighted the same way inside and outside the
parsed-literal block for consistency.

(From yocto-docs rev: 56355f9dacc9b5cdfa6ad86d6c07dcb0511bc394)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 0c68497ec5f6525483e5a98e15db24f651bf28ba)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Quentin Schulz
2026-01-21 14:31:47 +01:00
committed by Richard Purdie
parent bd4027365a
commit 6ab741ee86
2 changed files with 39 additions and 11 deletions

View File

@@ -276,24 +276,52 @@ Follow these steps to extract the root filesystem:
Installed Standard SDK Directory Structure
==========================================
The following figure shows the resulting directory structure after you
install the Standard SDK by running the ``*.sh`` SDK installation
script:
After you install the Standard SDK by running the ``*.sh`` SDK installation
script, the following directory structure should be observed:
.. image:: figures/sdk-installed-standard-sdk-directory.png
:scale: 100%
.. parsed-literal::
*install_dir*/*version*/
├── buildinfo
├── environment-setup-*target*-poky-linux
├── site-config-*target*-poky-linux
├── sysroots/
│ ├── *target*-poky-linux/
│ │ ├── bin/
│ │ ├── boot/
│ │ ├── etc/
│ │ ├── home/
│ │ ├── lib/
│ │ ├── media/
│ │ ├── mnt/
│ │ ├── proc/
│ │ ├── run/
│ │ ├── sbin/
│ │ ├── sys/
│ │ ├── tmp/
│ │ ├── usr/
│ │ └── var/
│ └── *host*-pokysdk-linux/
│ ├── bin/
│ ├── environment-setup.d/
│ ├── etc/
│ ├── lib/
│ ├── sbin/
│ ├── usr/
│ └── var/
└── version-*target*-poky-linux
The installed SDK consists of an environment setup script for the SDK, a
configuration file for the target, a version file for the target, and
the root filesystem (``sysroots``) needed to develop objects for the
target system.
Within the figure, italicized text is used to indicate replaceable
portions of the file or directory name. For example, install_dir/version
is the directory where the SDK is installed. By default, this directory
is ``/opt/poky/``. And, version represents the specific snapshot of the
SDK (e.g. &DISTRO;). Furthermore, target represents the target architecture
(e.g. ``i586``) and host represents the development system's
In the layout above, italicized text is used to indicate replaceable
portions of the file or directory name. For example, *install_dir*/*version*
is the directory where the SDK is installed. By default, *install_dir*
is ``/opt/poky/``. And, *version* represents the specific snapshot of the
SDK (e.g. &DISTRO;). Furthermore, *target* represents the target architecture
(e.g. ``i586``) and *host* represents the development system's
architecture (e.g. ``x86_64``). Thus, the complete names of the two
directories within the ``sysroots`` could be ``i586-poky-linux`` and
``x86_64-pokysdk-linux`` for the target and host, respectively.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB