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.
(From meta-phosphor rev: 98d1f319a22a88887c96ae80b58b8fe8d4b7ca97)
Change-Id: Id32177e5d63b18ad9e1060770a031bcce91ae551
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/classes/phosphor-software-manager-mmc.bbclass b/meta-phosphor/classes/phosphor-software-manager-mmc.bbclass
index 955e65e..ca5fca8 100644
--- a/meta-phosphor/classes/phosphor-software-manager-mmc.bbclass
+++ b/meta-phosphor/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 \
+"