From e4f02c2ead72f8d0acd994b75e6ff91aef55a568 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 28 Jun 2019 11:19:11 -0500 Subject: Enable TFTP updates via Redfish TFTP is already enabled by default using the existing REST api's. Code was put in recently to also support TFTP via the Redfish UpdateServices.SimpleUpdate object. By default this is disabled within bmcweb. Enable it by default on all IBM systems to keep parity with the existing REST api's Tested: curl -k -H "X-Auth-Token: $TOKEN" -X GET https://${BMC_IP}/redfish/v1/UpdateService { "@odata.context": "/redfish/v1/$metadata#UpdateService.UpdateService", "@odata.id": "/redfish/v1/UpdateService", "@odata.type": "#UpdateService.v1_2_0.UpdateService", "Actions": { "#UpdateService.SimpleUpdate": { "TransferProtocol@Redfish.AllowableValues": [ "TFTP" ], "target": "/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate" } (From meta-ibm rev: f93d1c8da15a0d73be54b80eb0f042733d1f314f) Change-Id: I2a9980b4bbb3bfd50550881e206154d1f69c0a24 Signed-off-by: Andrew Geissler Signed-off-by: Brad Bishop --- meta-ibm/recipes-phosphor/bmcweb/bmcweb_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-ibm/recipes-phosphor/bmcweb/bmcweb_%.bbappend diff --git a/meta-ibm/recipes-phosphor/bmcweb/bmcweb_%.bbappend b/meta-ibm/recipes-phosphor/bmcweb/bmcweb_%.bbappend new file mode 100644 index 000000000..44f4f4695 --- /dev/null +++ b/meta-ibm/recipes-phosphor/bmcweb/bmcweb_%.bbappend @@ -0,0 +1,3 @@ +EXTRA_OECMAKE_append = " \ + -DBMCWEB_INSECURE_ENABLE_REDFISH_FW_TFTP_UPDATE=ON \ +" -- cgit v1.2.3