summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2024-03-09 04:50:48 +0300
committerPatrick Williams <patrick@stwcx.xyz>2024-03-11 18:18:37 +0300
commit828c130f59bb3e2cb5cdfd47ac424aa4407bb0b3 (patch)
tree44b936f89c05cd97252b2d72ae67c5af57386830 /meta-phosphor/conf
parentceb19dff485902e95dd7688d98720b2f350fa16f (diff)
downloadopenbmc-828c130f59bb3e2cb5cdfd47ac424aa4407bb0b3.tar.xz
meta-phosphor: unset VOLATILE_LOG_DIR
This variable, if set, creates a symlink of /var/log to /var/volatile/log. In most cases if machines have configured applications like obmc-console or journald to write to /var/log they want it to be persistent. The symlink causes them to be written to the non-persistent tmpfs space for /var/volatile. Set all machines to `VOLATILE_LOG_DIR = no` by default. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0f973e6b8599b32451c83d5161be079e967de711
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-base.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc
index e312cafc33..b830453274 100644
--- a/meta-phosphor/conf/distro/include/phosphor-base.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-base.inc
@@ -85,6 +85,10 @@ INIT_MANAGER = "systemd"
# /root, but we should switch it back (and maybe adjust in another commit).
ROOT_HOME = "/home/root"
+# We want to persist /var/log, which is likely to be used for
+# obmc-console and/or journald.
+VOLATILE_LOG_DIR = "no"
+
DISTRO_FEATURES_BACKFILL_CONSIDERED = " \
bluez5 \
ldconfig \