BMC: Mount ubi volume on BMC reboot
- Create a static service file that will be run
on all BMC boot to remount the bmc ubi volume.
- Read the ubinfo for all available volumes from
obmc-flash-bmc script.
- Re-Mount the available volumes on /media/ dir
using the volume names.
Change-Id: I8f3a0b41257927fa0e69001278cc836ba0a52dda
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/common/recipes-phosphor/flash/phosphor-software-manager.bb b/common/recipes-phosphor/flash/phosphor-software-manager.bb
index ef8d30e..96a66e2 100644
--- a/common/recipes-phosphor/flash/phosphor-software-manager.bb
+++ b/common/recipes-phosphor/flash/phosphor-software-manager.bb
@@ -72,6 +72,7 @@
obmc-flash-bmc-ubirw-remove.service \
obmc-flash-bmc-ubiro-remove@.service \
usr-local.mount \
+ obmc-flash-bmc-ubiremount.service \
"
# Name of the mtd device where the ubi volumes should be created