fp5280g2: Enable TFTP updates via Redfish
TFTP is already support within bmcweb via Redfish and by default that
was disabled. We need to enable it by default on fp5280g2 machine
Testd: Updated successfully via the following Redfish
curl -k -H "X-Auth-Token: $token" -X POST
https://${bmc}/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate
-d
'{"TransferProtocol":"TFTP","ImageURI":"<ip address of TFTP server>/obmc-phosphor-image-fp5280g2-20190924042243.static.mtd.tar"}'
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I77b69c6a2b3e7f1e435162438ab4729ad3b2c7ba
diff --git a/meta-fp5280g2/recipes-phosphor/bmcweb/bmcweb_%.bbappend b/meta-fp5280g2/recipes-phosphor/bmcweb/bmcweb_%.bbappend
new file mode 100644
index 0000000..934bb28
--- /dev/null
+++ b/meta-fp5280g2/recipes-phosphor/bmcweb/bmcweb_%.bbappend
@@ -0,0 +1,3 @@
+EXTRA_OECMAKE_append = " \
+ -DBMCWEB_INSECURE_ENABLE_REDFISH_FW_TFTP_UPDATE=ON \
+ "