diff options
author | Quentin Schulz <quentin.schulz@cherry.de> | 2025-01-27 19:37:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-18 15:47:37 +0000 |
commit | 9d7930a4e0d0566e41ad0e0cf551cab04e847d64 (patch) | |
tree | b9d968f5454135b8b1304fa66b4e5cff5ee4a4dc /documentation/tools/host_packages_scripts/opensuse_essential.sh | |
parent | 09849475c8bdd711fc07c4ef4bb0ae13de046817 (diff) | |
download | poky-9d7930a4e0d0566e41ad0e0cf551cab04e847d64.tar.gz |
docs: use literalinclude for system requirements
The YAML variables for the host dependencies are updated by hand and
actually only used inside code blocks.
Let's migrate all instructions into separate shell scripts that are then
literalinclude'd into the Sphinx documentation.
This allows a few things:
- ability to run shellcheck on the scripts if we ever want to
- manually calling the appropriate script from a supported distro to
build stuff (distro or bitbake/yocto stuff)
- use this script to create containers to do CI of documentation on
different distros, to make sure our instructions are all up to date,
(From yocto-docs rev: 8d993022c2aefc0fde9baa949d39d7a3613f9f46)
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/tools/host_packages_scripts/opensuse_essential.sh')
-rw-r--r-- | documentation/tools/host_packages_scripts/opensuse_essential.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/documentation/tools/host_packages_scripts/opensuse_essential.sh b/documentation/tools/host_packages_scripts/opensuse_essential.sh new file mode 100644 index 0000000000..a784f4a5dc --- /dev/null +++ b/documentation/tools/host_packages_scripts/opensuse_essential.sh | |||
@@ -0,0 +1,2 @@ | |||
1 | sudo zypper install bzip2 chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 lz4 make makeinfo patch python python-curses python-xml python3 python3-Jinja2 python3-curses python3-pexpect python3-pip rpcgen socat tar wget which xz zstd | ||
2 | sudo pip3 install GitPython | ||