phosphor-software-manager: mmc: Add update services
The mmc config option in the phosphor-bmc-code-mgmt repo
supports now mmc code update, add the depends and services.
Change-Id: Ic7c279c96ba724457866a5fb35343e98ace7df5e
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/classes/phosphor-software-manager-mmc.bbclass b/classes/phosphor-software-manager-mmc.bbclass
index 955e65e..ca5fca8 100644
--- a/classes/phosphor-software-manager-mmc.bbclass
+++ b/classes/phosphor-software-manager-mmc.bbclass
@@ -5,3 +5,16 @@
EXTRA_OEMESON += "-Dactive-bmc-max-allowed=2"
EXTRA_OEMESON += "-Dmedia-dir='/media'"
+RDEPENDS_phosphor-software-manager-updater-mmc += " \
+ gptfdisk \
+ parted \
+ zstd \
+"
+
+SYSTEMD_SERVICE_phosphor-software-manager-updater-mmc += " \
+ obmc-flash-mmc@.service \
+ obmc-flash-mmc-remove@.service \
+ obmc-flash-mmc-setprimary@.service \
+ obmc-flash-mmc-mount.service \
+ obmc-flash-mmc-umount.service \
+"