Put simple update behind an option
4e338b2313f9f2a91aa1fb36693e36a328d58933 Removed tftp update support
from the codebase, but left SimpleUpdate in a non functional state.
Given that a number of forks have implemented the HTTPS/SCP versions of
simple update, we don't want to fully delete the code at this time, so
for the moment put it behind an option flag.
Tested: WIP
Change-Id: Ibab1e3a48ff640787eabf8ed5f7a5c08e3381307
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/meson.options b/meson.options
index 915f427..d1a9dda 100644
--- a/meson.options
+++ b/meson.options
@@ -340,6 +340,17 @@
''',
)
+# BMCWEB_REDFISH_ALLOW_SIMPLE_UPDATE
+option(
+ 'redfish-allow-simple-update',
+ type: 'feature',
+ value: 'disabled',
+ description: '''Enables Redfish UpdateService SimpleUpdate Action. Note
+ that at this time this option is non-functional. Redfish
+ recommends using MultiPartUpdate.''',
+)
+
+
# BMCWEB_HTTPS_PORT
option(
'https_port',