You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add preparedepends
* Increment version
* Formatting
* Fix tests
* Use correct image for build and prepare
* Fix switch script
* Test that preparedepends runs
Copy file name to clipboardExpand all lines: docs/recipe-format.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,29 @@ For example, `build:autotools` and `libvncserver>=0.9.13` are valid dependency s
209
209
210
210
**Dependencies declared in the `makedepends` field are only satisfied during the build process, not at install time** — see the [`installdepends`](#installdepends-field) below for declaring install-time dependencies.
211
211
212
+
#### `preparedepends` field
213
+
214
+
<table>
215
+
<tr>
216
+
<th>Required?</th>
217
+
<td>No, defaults to <code>()</code></th>
218
+
</tr>
219
+
<tr>
220
+
<th>Type</th>
221
+
<td>Array of dependency specifications (strings)</td>
222
+
</tr>
223
+
</table>
224
+
225
+
The list of Debian, Toltec or Entware packages that are needed to prepare this package.
226
+
Dependency specifications have the following format: `[host:|build:]package-name`.
227
+
For example, `build:autotools` and `libvncserver>=0.9.13` are valid dependency specifications.
228
+
229
+
*Build-type dependencies* (prefixed with `build:`) are packages from Debian to install in the container’s root system before the recipe’s build script is executed.
230
+
231
+
*Host-type dependencies* (prefixed with `host:`) are packages from Toltec or Entware to install in the container’s `$SYSROOT` before the recipe’s build script is executed. The packages are offline-installed (i.e., none of their [install scripts](#install-section) are executed).
232
+
233
+
**Dependencies declared in the `preparedepends` field are only satisfied during the prepare process, not at install time** — see the [`installdepends`](#installdepends-field) below for declaring install-time dependencies.
0 commit comments