From f14be5995f7e5c3b17286e34e8770d6201742d79 Mon Sep 17 00:00:00 2001 From: Nathan Dunne Date: Thu, 7 Jan 2021 10:10:54 +0000 Subject: [PATCH] arm-autonomy/xenguest-manager: Document VOLATILE_LOG_DIR in recipe Added a comment to the xenguest-manager recipe to inform the user that the default state is a volatile log dir, and how to persist logs across reboots. Issue-Id: SCM-1860 Signed-off-by: Nathan Dunne Change-Id: Ie0c92b05d11543a1524cbb7a53cd845bc63ecd3d Signed-off-by: Jon Mason --- .../recipes-extended/xenguest/xenguest-manager.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb b/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb index 16a07005..ffb0fc39 100644 --- a/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +++ b/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb @@ -2,6 +2,16 @@ # # xenguest-manager is a tool to control xen guest (e.g. create, start, stop) # +# By default xenguest-manager logs to /var/log when in verbose mode, which is a +# Volatile directory. To persist logs across reboots the following needs to be +# added to either local.conf or distro.conf +# +# VOLATILE_LOG_DIR="no" +# +# Read more here: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-VOLATILE_LOG_DIR +# +# When this is enabled, logrotate will monitor the file to ensure it does not grow +# excessively large. See files/logrotate-xenguest DESCRIPTION = "Xen Guest Manager" LICENSE = "MIT"