@@ -232,3 +232,15 @@ supports the following options:
- ``--timeout``: Specifies the number of seconds before the
bootloader times out and boots the default option.
+Directive: include
+==================
+
+The ``include`` directive can be used to include a WKS file into another. The
+only argument to this command is the path to the file to include, relative to
+the current file. For example:
+
+.. code-block:: shell
+
+ include common.wks.inc
+
+ bootloader --configfile="directdisk-bootloader-config.cfg"
Including WKS files into others can be useful to avoid duplicating code for similar images. Add documentation for it. The example was taken from the meta/files/wic/directdisk-bootloader-config.wks file in OE-Core. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/ref-manual/kickstart.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+)