summaryrefslogtreecommitdiffstats
path: root/documentation/tools/host_packages_scripts/almalinux_essential.sh
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2025-01-27 19:37:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 15:47:37 +0000
commit9d7930a4e0d0566e41ad0e0cf551cab04e847d64 (patch)
treeb9d968f5454135b8b1304fa66b4e5cff5ee4a4dc /documentation/tools/host_packages_scripts/almalinux_essential.sh
parent09849475c8bdd711fc07c4ef4bb0ae13de046817 (diff)
downloadpoky-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/almalinux_essential.sh')
-rw-r--r--documentation/tools/host_packages_scripts/almalinux_essential.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/documentation/tools/host_packages_scripts/almalinux_essential.sh b/documentation/tools/host_packages_scripts/almalinux_essential.sh
new file mode 100644
index 0000000000..16f25fa1f2
--- /dev/null
+++ b/documentation/tools/host_packages_scripts/almalinux_essential.sh
@@ -0,0 +1,5 @@
1sudo dnf install -y epel-release
2sudo yum install dnf-plugins-core
3sudo dnf config-manager --set-enabled crb
4sudo dnf makecache
5sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip libacl lz4 make patch perl perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd