whitelist: Add new phosphor settings directories
The phosphor settings properties used to be stored under
/var/lib/obmc/ but they have moved to /var/lib/phosphor-*
directories.
Update the code update whitelist to include these
directories so that the settings properties and inventory
are preserved across code updates.
Closes openbmc/openbmc#3346
Tested: On Zaius, a PrepareForUpdate and an Apply preserve
the settings.
Change-Id: I4e528f90128e11af7d40537dceb2f9dd1db6cf73
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/common/recipes-phosphor/initrdscripts/files/whitelist b/common/recipes-phosphor/initrdscripts/files/whitelist
index 77d12fc..20f1ec2 100644
--- a/common/recipes-phosphor/initrdscripts/files/whitelist
+++ b/common/recipes-phosphor/initrdscripts/files/whitelist
@@ -8,3 +8,6 @@
/etc/systemd/network
/var/cache/obmc
/var/lib/obmc
+/var/lib/phosphor-inventory-manager
+/var/lib/phosphor-settings-manager
+/var/lib/phosphor-state-manager