diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index ae39bf2488..b7189e7489 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -5480,13 +5480,26 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
5480 | <literallayout class='monospaced'> | 5480 | <literallayout class='monospaced'> |
5481 | ROOT_HOME ??= "/home/root" | 5481 | ROOT_HOME ??= "/home/root" |
5482 | </literallayout> | 5482 | </literallayout> |
5483 | <note> | ||
5484 | This default value is likely used because some | ||
5485 | embedded solutions prefer to have a read-only root | ||
5486 | filesystem and prefer to keep writeable data in one | ||
5487 | place. | ||
5488 | </note> | ||
5489 | </para> | ||
5490 | |||
5491 | <para> | ||
5483 | You can override the default by setting the variable | 5492 | You can override the default by setting the variable |
5484 | in any layer or in the | 5493 | in any layer or in the <filename>local.conf</filename> file. |
5485 | <filename>local.conf</filename> file using the following | 5494 | Because the default is set using a "weak" assignment |
5486 | form: | 5495 | (i.e. "??="), you can use either of the following forms |
5496 | to define your override: | ||
5487 | <literallayout class='monospaced'> | 5497 | <literallayout class='monospaced'> |
5488 | ROOT_HOME ?= "<path>" | 5498 | ROOT_HOME = "/root" |
5499 | ROOT_HOME ?= "/root" | ||
5489 | </literallayout> | 5500 | </literallayout> |
5501 | These override examples use <filename>/root</filename>, | ||
5502 | which is probably the most commonly used override. | ||
5490 | </para> | 5503 | </para> |
5491 | </glossdef> | 5504 | </glossdef> |
5492 | </glossentry> | 5505 | </glossentry> |