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: Idef960016ed5601d09459fc287f0f4e17df93718
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist b/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist
index c35a552..6b1297d 100644
--- a/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist
+++ b/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