diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2022-10-10 11:28:20 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-19 17:32:57 +0100 |
commit | d73883dfefdf82329ca870ada9e75f68cf565c93 (patch) | |
tree | 042bf8285cf65c54b28f524f9e4d441573213899 | |
parent | 4ce28144c5ec6222d69cafab94a67b5de9721dd8 (diff) | |
download | poky-d73883dfefdf82329ca870ada9e75f68cf565c93.tar.gz |
ref-manual: add previous overlayfs-etc variables
These were supported in releases prior to 4.1.
(From yocto-docs rev: 86f367fc9946904b5056fb86fb2cc339a0f96b0a)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/variables.rst | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 0622bedf84..d608fa664a 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -5187,6 +5187,44 @@ system and gives an overview of their function and contents. | |||
5187 | default by setting the variable in a custom distribution | 5187 | default by setting the variable in a custom distribution |
5188 | configuration file. | 5188 | configuration file. |
5189 | 5189 | ||
5190 | :term:`OVERLAYFS_ETC_DEVICE` | ||
5191 | When the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` class is | ||
5192 | inherited, specifies the device to be mounted for the read/write | ||
5193 | layer of ``/etc``. There is no default, so you must set this if you | ||
5194 | wish to enable :ref:`overlayfs-etc <ref-classes-overlayfs-etc>`, for | ||
5195 | example, assuming ``/dev/mmcblk0p2`` was the desired device:: | ||
5196 | |||
5197 | OVERLAYFS_ETC_DEVICE = "/dev/mmcblk0p2" | ||
5198 | |||
5199 | :term:`OVERLAYFS_ETC_FSTYPE` | ||
5200 | When the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` class is | ||
5201 | inherited, specifies the file system type for the read/write | ||
5202 | layer of ``/etc``. There is no default, so you must set this if you | ||
5203 | wish to enable :ref:`overlayfs-etc <ref-classes-overlayfs-etc>`, | ||
5204 | for example, assuming the file system is ext4:: | ||
5205 | |||
5206 | OVERLAYFS_ETC_FSTYPE = "ext4" | ||
5207 | |||
5208 | :term:`OVERLAYFS_ETC_MOUNT_OPTIONS` | ||
5209 | When the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` class is | ||
5210 | inherited, specifies the mount options for the read-write layer. | ||
5211 | The default value is "defaults". | ||
5212 | |||
5213 | :term:`OVERLAYFS_ETC_MOUNT_POINT` | ||
5214 | When the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` class is | ||
5215 | inherited, specifies the parent mount path for the filesystem layers. | ||
5216 | There is no default, so you must set this if you wish to enable | ||
5217 | :ref:`overlayfs-etc <ref-classes-overlayfs-etc>`, for example if | ||
5218 | the desired path is "/data":: | ||
5219 | |||
5220 | OVERLAYFS_ETC_MOUNT_POINT = "/data" | ||
5221 | |||
5222 | :term:`OVERLAYFS_ETC_USE_ORIG_INIT_NAME` | ||
5223 | When the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` class is | ||
5224 | inherited, controls how the generated init will be named. For more | ||
5225 | information, see the :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` | ||
5226 | class documentation. The default value is "1". | ||
5227 | |||
5190 | :term:`OVERRIDES` | 5228 | :term:`OVERRIDES` |
5191 | A colon-separated list of overrides that currently apply. Overrides | 5229 | A colon-separated list of overrides that currently apply. Overrides |
5192 | are a BitBake mechanism that allows variables to be selectively | 5230 | are a BitBake mechanism that allows variables to be selectively |