Setup NIC MCTP Endpoint after mctpd initialization
Since NIC's Entity Manager configuration cannot store information of
static EID for Yosemite4 platform, setup the NIC's MCTP Endpoint after
mctpd is successfully initilized if the corresponding slot is plugged
in.
Change-Id: Ida647d60d7ed72897f641dd9783f0105c2a5c0d5
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend b/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend
index 6f87713..04dcac3 100644
--- a/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend
+++ b/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend
@@ -3,7 +3,9 @@
SRC_URI += " \
file://setup-local-eid.conf \
+ file://setup-static-endpoints.conf \
file://mctp-config.sh \
+ file://setup-static-endpoints.sh \
"
FILES:${PN} += "${systemd_system_unitdir}/*"
@@ -14,6 +16,10 @@
install -d ${D}${datadir}/mctp
install -m 0644 ${WORKDIR}/setup-local-eid.conf \
${override_dir}/setup-local-eid.conf
+ install -m 0644 ${WORKDIR}/setup-static-endpoints.conf \
+ ${override_dir}/setup-static-endpoints.conf
install -m 0755 ${WORKDIR}/mctp-config.sh \
${D}${datadir}/mctp/
+ install -m 0755 ${WORKDIR}/setup-static-endpoints.sh \
+ ${D}${datadir}/mctp/
}