diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-31 16:25:55 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 12:01:32 +0000 |
| commit | f670e3a13401d6f690657ae4a17084074c015a13 (patch) | |
| tree | 9482b809a09e4d099d29688524486c862f66e72a /documentation | |
| parent | f084e33e5d72cebb7272287245c87c0ce3486920 (diff) | |
| download | poky-f670e3a13401d6f690657ae4a17084074c015a13.tar.gz | |
ref-manual: Edits to ROOT_HOME
Fixes [YOCTO #5762]
Applied some more detail based on Laszlo's review comments.
(From yocto-docs rev: eb8d11504d6c22dfd9620422df3fc31cfcebb00c)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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> |
