From 5051c6836a0880b001aa3fcf5539987b7aedd536 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Thu, 18 Aug 2016 09:59:37 -0500 Subject: whitelist: Add obmc cache and obmc settings During BMC FW update, preserve the following directories: /var/cache/obmc/ - Holds the inventory data /var/lib/obmc/ - Holds the settings properties The whiltelist is recursive, specifying /var/lib/obmc/ will still preserve the event log directory /var/lib/obmc/events/, so it can be removed. Change-Id: I1e1adb1b39a499a6c50e34171a964ee8c884f6c9 Signed-off-by: Adriana Kobylak --- .../common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist index c35a552c7..6b1297dcb 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist @@ -6,4 +6,5 @@ /etc/group /etc/shadow /etc/gshadow -/var/lib/obmc/events +/var/cache/obmc +/var/lib/obmc -- cgit v1.2.1