bmc : add config-static-bmc-with-update-status.json.in
Add a default json file with update status (file path defined with
UPDATE_STATUS_FILENAME) enabled with --enable-update-status flag.
Change-Id: I62d3b547d91840451906e26cbec55dfa74934b5e
Signed-off-by: Brandon Kim <brandonkim@google.com>
diff --git a/bmc/config-static-bmc-with-update-status.json.in b/bmc/config-static-bmc-with-update-status.json.in
new file mode 100644
index 0000000..65d856a
--- /dev/null
+++ b/bmc/config-static-bmc-with-update-status.json.in
@@ -0,0 +1,23 @@
+[{
+ "blob": "/flash/image",
+ "handler": {
+ "type": "file",
+ "path": "@STATIC_HANDLER_STAGED_NAME@"
+ },
+ "actions": {
+ "preparation": {
+ "type": "systemd",
+ "unit": "@PREPARATION_DBUS_SERVICE@"
+ },
+ "verification": {
+ "type": "fileSystemdVerify",
+ "unit": "@VERIFY_DBUS_SERVICE@",
+ "path": "@VERIFY_STATUS_FILENAME@"
+ },
+ "update": {
+ "type": "fileSystemdUpdate",
+ "unit": "@UPDATE_DBUS_SERVICE@",
+ "path": "@UPDATE_STATUS_FILENAME@"
+ }
+ }
+}]
\ No newline at end of file