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/poky.yaml.in | |
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/poky.yaml.in')
-rw-r--r-- | documentation/poky.yaml.in | 234 |
1 files changed, 0 insertions, 234 deletions
diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in index d045ff596e..c93b780664 100644 --- a/documentation/poky.yaml.in +++ b/documentation/poky.yaml.in | |||
@@ -24,237 +24,3 @@ MIN_DISK_SPACE : "90" | |||
24 | MIN_DISK_SPACE_RM_WORK : "40" | 24 | MIN_DISK_SPACE_RM_WORK : "40" |
25 | # RAM (Gbytes) needed to generate qemux86-64 core-image-sato on Ubuntu 22.04 (x86-64) on a 4 core system | 25 | # RAM (Gbytes) needed to generate qemux86-64 core-image-sato on Ubuntu 22.04 (x86-64) on a 4 core system |
26 | MIN_RAM : "8" | 26 | MIN_RAM : "8" |
27 | |||
28 | # | ||
29 | # Dependencies | ||
30 | # | ||
31 | |||
32 | # Shared between distros | ||
33 | PIP3_HOST_PACKAGES_DOC: sphinx sphinx_rtd_theme pyyaml | ||
34 | |||
35 | UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL: >- | ||
36 | build-essential | ||
37 | chrpath | ||
38 | cpio | ||
39 | debianutils | ||
40 | diffstat | ||
41 | file | ||
42 | gawk | ||
43 | gcc | ||
44 | git | ||
45 | iputils-ping | ||
46 | libacl1 | ||
47 | liblz4-tool | ||
48 | locales | ||
49 | python3 | ||
50 | python3-git | ||
51 | python3-jinja2 | ||
52 | python3-pexpect | ||
53 | python3-pip | ||
54 | python3-subunit | ||
55 | socat | ||
56 | texinfo | ||
57 | unzip | ||
58 | wget | ||
59 | xz-utils | ||
60 | zstd | ||
61 | |||
62 | UBUNTU_DEBIAN_HOST_PACKAGES_DOC: >- | ||
63 | git | ||
64 | librsvg2-bin | ||
65 | locales | ||
66 | make | ||
67 | python3-saneyaml | ||
68 | python3-sphinx-rtd-theme | ||
69 | sphinx | ||
70 | |||
71 | UBUNTU_DEBIAN_HOST_PACKAGES_DOC_PDF: >- | ||
72 | fonts-freefont-otf | ||
73 | latexmk | ||
74 | tex-gyre | ||
75 | texlive-fonts-extra | ||
76 | texlive-fonts-recommended | ||
77 | texlive-lang-all | ||
78 | texlive-latex-extra | ||
79 | texlive-latex-recommended | ||
80 | texlive-xetex | ||
81 | |||
82 | FEDORA_HOST_PACKAGES_ESSENTIAL: >- | ||
83 | bzip2 | ||
84 | ccache | ||
85 | chrpath | ||
86 | cpio | ||
87 | cpp | ||
88 | diffstat | ||
89 | diffutils | ||
90 | file | ||
91 | findutils | ||
92 | gawk | ||
93 | gcc | ||
94 | gcc-c++ | ||
95 | git | ||
96 | glibc-devel | ||
97 | glibc-langpack-en | ||
98 | gzip | ||
99 | hostname | ||
100 | libacl | ||
101 | lz4 | ||
102 | make | ||
103 | patch | ||
104 | perl | ||
105 | perl-Data-Dumper | ||
106 | perl-File-Compare | ||
107 | perl-File-Copy | ||
108 | perl-FindBin | ||
109 | perl-Text-ParseWords | ||
110 | perl-Thread-Queue | ||
111 | perl-bignum | ||
112 | perl-locale | ||
113 | python | ||
114 | python3 | ||
115 | python3-GitPython | ||
116 | python3-jinja2 | ||
117 | python3-pexpect | ||
118 | python3-pip | ||
119 | rpcgen | ||
120 | socat | ||
121 | tar | ||
122 | texinfo | ||
123 | unzip | ||
124 | wget | ||
125 | which | ||
126 | xz | ||
127 | zstd | ||
128 | |||
129 | FEDORA_HOST_PACKAGES_DOC: >- | ||
130 | git | ||
131 | glibc-locale-source | ||
132 | librsvg2-tools | ||
133 | make | ||
134 | python3-pip | ||
135 | which | ||
136 | |||
137 | FEDORA_HOST_PACKAGES_DOC_PDF: >- | ||
138 | 'texlive-collection-lang*' | ||
139 | latexmk | ||
140 | texlive-collection-fontsextra | ||
141 | texlive-collection-fontsrecommended | ||
142 | texlive-collection-latex | ||
143 | texlive-collection-latexextra | ||
144 | texlive-collection-latexrecommended | ||
145 | texlive-collection-xetex | ||
146 | texlive-fncychap | ||
147 | texlive-gnu-freefont | ||
148 | texlive-tex-gyre | ||
149 | texlive-xetex | ||
150 | |||
151 | OPENSUSE_HOST_PACKAGES_ESSENTIAL: >- | ||
152 | bzip2 | ||
153 | chrpath | ||
154 | diffstat | ||
155 | gcc | ||
156 | gcc-c++ | ||
157 | git | ||
158 | gzip | ||
159 | hostname | ||
160 | libacl1 | ||
161 | lz4 | ||
162 | make | ||
163 | makeinfo | ||
164 | patch | ||
165 | python | ||
166 | python-curses | ||
167 | python-xml | ||
168 | python3 | ||
169 | python3-Jinja2 | ||
170 | python3-curses | ||
171 | python3-pexpect | ||
172 | python3-pip | ||
173 | rpcgen | ||
174 | socat | ||
175 | tar | ||
176 | wget | ||
177 | which | ||
178 | xz | ||
179 | zstd | ||
180 | |||
181 | OPENSUSE_PIP3_HOST_PACKAGES_ESSENTIAL: GitPython | ||
182 | |||
183 | OPENSUSE_HOST_PACKAGES_DOC: >- | ||
184 | git | ||
185 | glibc-i18ndata | ||
186 | make | ||
187 | python3-pip | ||
188 | rsvg-convert | ||
189 | which | ||
190 | |||
191 | OPENSUSE_HOST_PACKAGES_DOC_PDF: >- | ||
192 | 'texlive-collection-lang*' | ||
193 | texlive-collection-fontsextra | ||
194 | texlive-collection-fontsrecommended | ||
195 | texlive-collection-latex | ||
196 | texlive-collection-latexextra | ||
197 | texlive-collection-latexrecommended | ||
198 | texlive-collection-xetex | ||
199 | texlive-fncychap | ||
200 | texlive-gnu-freefont | ||
201 | texlive-latexmk | ||
202 | texlive-tex-gyre | ||
203 | texlive-xetex | ||
204 | |||
205 | ALMALINUX_HOST_PACKAGES_ESSENTIAL: >- | ||
206 | bzip2 | ||
207 | ccache | ||
208 | chrpath | ||
209 | cpio | ||
210 | cpp | ||
211 | diffstat | ||
212 | diffutils | ||
213 | gawk | ||
214 | gcc | ||
215 | gcc-c++ | ||
216 | git | ||
217 | glibc-devel | ||
218 | glibc-langpack-en | ||
219 | gzip | ||
220 | libacl | ||
221 | lz4 | ||
222 | make | ||
223 | patch | ||
224 | perl | ||
225 | perl-Data-Dumper | ||
226 | perl-Text-ParseWords | ||
227 | perl-Thread-Queue | ||
228 | python3 | ||
229 | python3-GitPython | ||
230 | python3-jinja2 | ||
231 | python3-pexpect | ||
232 | python3-pip | ||
233 | rpcgen | ||
234 | socat | ||
235 | tar | ||
236 | texinfo | ||
237 | unzip | ||
238 | wget | ||
239 | which | ||
240 | xz | ||
241 | zstd | ||
242 | |||
243 | ALMALINUX_HOST_PACKAGES_DOC: >- | ||
244 | git | ||
245 | glibc-locale-source | ||
246 | librsvg2-tools | ||
247 | make | ||
248 | python3-pip | ||
249 | which | ||
250 | |||
251 | ALMALINUX_HOST_PACKAGES_DOC_PDF: >- | ||
252 | latexmk | ||
253 | texlive-collection-fontsrecommended | ||
254 | texlive-collection-latex | ||
255 | texlive-collection-latexrecommended | ||
256 | texlive-collection-xetex | ||
257 | texlive-fncychap | ||
258 | texlive-gnu-freefont | ||
259 | texlive-tex-gyre | ||
260 | texlive-xetex | ||