bmc: provide disabled json support
Provide support such that a json configuration file can define a firmware
handler and its behavior. This is not yet enabled.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: If21f4e97951b3bb91a8afc53bee493d8600a04b7
diff --git a/bmc/config-bios.json.in b/bmc/config-bios.json.in
new file mode 100644
index 0000000..90dbff9
--- /dev/null
+++ b/bmc/config-bios.json.in
@@ -0,0 +1,22 @@
+[{
+ "blob": "/flash/bios",
+ "handler": {
+ "type": "file",
+ "path": "@BIOS_STAGED_NAME@"
+ },
+ "actions": {
+ "preparation": {
+ "type": "systemd",
+ "unit": "@PREPARATION_BIOS_TARGET@"
+ },
+ "verification": {
+ "type": "fileSystemdVerify",
+ "unit": "@VERIFY_BIOS_TARGET@",
+ "path": "@BIOS_VERIFY_STATUS_FILENAME@"
+ },
+ "update": {
+ "type": "systemd",
+ "unit": "@UPDATE_BIOS_TARGET@"
+ }
+ }
+}]