summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-12-30 10:20:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-11 17:23:17 +0000
commit62f7812b932d0441dace5b8070d1ac198ed8d5bc (patch)
treeaecc6e45c58db3ca9920ac4439348fbce5e17e96 /documentation
parent5d64b8e076f347a36cd3893becdb90a7443fbb06 (diff)
downloadpoky-62f7812b932d0441dace5b8070d1ac198ed8d5bc.tar.gz
ref-manual: New VOLATILE_LOG_DIR variable description
Fixes [YOCTO #6132] No mention of how to make the target directory /var/log persistent. I added a note to the "post-install-logging" image feature that points to the new VOLATILE_LOG_DIR variable description, which I added to the glossary. (From yocto-docs rev: 5d2bdf49e569e44d02602501d72418f04dbe6e4a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-features.xml6
-rw-r--r--documentation/ref-manual/ref-variables.xml28
2 files changed, 31 insertions, 3 deletions
diff --git a/documentation/ref-manual/ref-features.xml b/documentation/ref-manual/ref-features.xml
index 282a517191..a4516a2665 100644
--- a/documentation/ref-manual/ref-features.xml
+++ b/documentation/ref-manual/ref-features.xml
@@ -297,6 +297,12 @@
297 Enables logging postinstall script runs to 297 Enables logging postinstall script runs to
298 the <filename>/var/log/postinstall.log</filename> file 298 the <filename>/var/log/postinstall.log</filename> file
299 on first boot of the image on the target system. 299 on first boot of the image on the target system.
300 <note>
301 To make the <filename>/var/log</filename> directory
302 on the target persistent, use the
303 <ulink url='&YOCTO_DOCS_REF_URL;#var-VOLATILE_LOG_DIR'><filename>VOLATILE_LOG_DIR</filename></ulink>
304 variable by setting it to "no".
305 </note>
300 </para></listitem> 306 </para></listitem>
301 <listitem><para><emphasis>ptest-pkgs:</emphasis> 307 <listitem><para><emphasis>ptest-pkgs:</emphasis>
302 Installs ptest packages for all ptest-enabled recipes. 308 Installs ptest packages for all ptest-enabled recipes.
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index a696ee4e66..6e15e65f54 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -37,7 +37,7 @@
37 <link linkend='var-S'>S</link> 37 <link linkend='var-S'>S</link>
38 <link linkend='var-T'>T</link> 38 <link linkend='var-T'>T</link>
39 <link linkend='var-UBOOT_CONFIG'>U</link> 39 <link linkend='var-UBOOT_CONFIG'>U</link>
40<!-- <link linkend='var-glossary-v'>V</link> --> 40 <link linkend='var-VOLATILE_LOG_DIR'>V</link>
41 <link linkend='var-WARN_QA'>W</link> 41 <link linkend='var-WARN_QA'>W</link>
42 <link linkend='var-XSERVER'>X</link> 42 <link linkend='var-XSERVER'>X</link>
43<!-- <link linkend='var-glossary-y'>Y</link> --> 43<!-- <link linkend='var-glossary-y'>Y</link> -->
@@ -15544,8 +15544,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
15544 15544
15545 </glossdiv> 15545 </glossdiv>
15546 15546
15547<!-- <glossdiv id='var-glossary-v'><title>V</title>--> 15547 <glossdiv id='var-glossary-v'><title>V</title>
15548<!-- </glossdiv>--> 15548
15549 <glossentry id='var-VOLATILE_LOG_DIR'><glossterm>VOLATILE_LOG_DIR</glossterm>
15550 <info>
15551 VOLATILE_LOG_DIR[doc] = "Specifies the persistence of the target's /var/log directory, which is used to house postinstall target log files."
15552 </info>
15553 <glossdef>
15554 <para role="glossdeffirst">
15555<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
15556 Specifies the persistence of the target's
15557 <filename>/var/log</filename> directory, which is used to
15558 house postinstall target log files.
15559 </para>
15560
15561 <para>
15562 By default, <filename>VOLATILE_LOG_DIR</filename> is set
15563 to "yes", which means the file is not persistent.
15564 You can override this setting by setting the
15565 variable to "no" to make the log directory persistent.
15566 </para>
15567 </glossdef>
15568 </glossentry>
15569
15570 </glossdiv>
15549 15571
15550 <glossdiv id='var-glossary-w'><title>W</title> 15572 <glossdiv id='var-glossary-w'><title>W</title>
15551 15573