diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2022-10-10 14:50:21 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-19 17:32:57 +0100 |
commit | 01372ac01cfd8d886220f1ef23c8eb798a33b6de (patch) | |
tree | cd51b0afc3d3c4a8531e8ac135ddc9d3056a45c6 /documentation/ref-manual | |
parent | 9e56bf9d8e89ec24842aa23dfdf13f75a0d33d1d (diff) | |
download | poky-01372ac01cfd8d886220f1ef23c8eb798a33b6de.tar.gz |
ref-manual: add overlayfs class variables
The overlayfs class was added in the honister release.
(From yocto-docs rev: cff6b5a167d8f7d99a351c7989bc86af5e553552)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/variables.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 0f8924188f..ff9eb51e8f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -5231,6 +5231,30 @@ system and gives an overview of their function and contents. | |||
5231 | information, see the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` | 5231 | information, see the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` |
5232 | class documentation. The default value is "1". | 5232 | class documentation. The default value is "1". |
5233 | 5233 | ||
5234 | :term:`OVERLAYFS_MOUNT_POINT` | ||
5235 | When inheriting the :ref:`overlayfs <ref-classes-overlayfs>` class, | ||
5236 | specifies mount point(s) to be used. For example:: | ||
5237 | |||
5238 | OVERLAYFS_MOUNT_POINT[data] = "/data" | ||
5239 | |||
5240 | The assumes you have a ``data.mount`` systemd unit defined elsewhere | ||
5241 | in your BSP (e.g. in ``systemd-machine-units`` recipe) and it is | ||
5242 | installed into the image. For more information see | ||
5243 | :ref:`overlayfs <ref-classes-overlayfs>`. | ||
5244 | |||
5245 | .. note:: | ||
5246 | |||
5247 | Although the :ref:`overlayfs <ref-classes-overlayfs>` class is | ||
5248 | inherited by individual recipes, :term:`OVERLAYFS_MOUNT_POINT` | ||
5249 | should be set in your machine configuration. | ||
5250 | |||
5251 | :term:`OVERLAYFS_WRITABLE_PATHS` | ||
5252 | When inheriting the :ref:`overlayfs <ref-classes-overlayfs>` class, | ||
5253 | specifies writable paths used at runtime for the recipe. For | ||
5254 | example:: | ||
5255 | |||
5256 | OVERLAYFS_WRITABLE_PATHS[data] = "/usr/share/my-custom-application" | ||
5257 | |||
5234 | :term:`OVERRIDES` | 5258 | :term:`OVERRIDES` |
5235 | A colon-separated list of overrides that currently apply. Overrides | 5259 | A colon-separated list of overrides that currently apply. Overrides |
5236 | are a BitBake mechanism that allows variables to be selectively | 5260 | are a BitBake mechanism that allows variables to be selectively |