summaryrefslogtreecommitdiffstats
path: root/bmc/test/firmware_json_unittest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bmc: merge update and prepare systemdPatrick Venture2019-08-211-5/+2
| | | | | | | | | The update systemd and prepare systemd were effectively the same, and this makes the systemd action generic. Tested: Not tested beyond unit-tests continuing to pass. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I8070731e53bfd6cdafb1d74d9db652f20341985e
* bmc: require blob ids to start with /flash/Patrick Venture2019-08-151-0/+62
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ib6a0db91d4e2ecd7e7cc3c51ddc1953d9fd8da3c
* bmc: cleanup verification language and symbolsPatrick Venture2019-08-061-1/+1
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ife4d7e519e44aff60441c5909346ca6d7e2aa090
* bmc: s/SystemdVerification/SystemdWithStatusFile/gPatrick Venture2019-08-051-4/+4
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I5da0ca9e3ae53df957647b19446df4196248fd31
* bmc: allow update to use systemd with pathPatrick Venture2019-08-051-0/+45
| | | | | | | | | Verification provides a mechanism that has a systemd unit and mode, and also a path to check the result. This object can be used for updates, and will be renamed in a later patchset to be more generically named. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I0a995af0aefff76592247775f22fc84189d14903
* bmc: add mode json option for verification systemdPatrick Venture2019-08-051-2/+6
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ibe5764c4e2ad7dd938177c813c8c6706886258a2
* bmc: move verify systemd mode to parameterPatrick Venture2019-08-051-0/+4
| | | | | | | | | Move the mode for the trigger service to a parameter instead of hard-coding it. This isn't yet a json configuration option, that'll be next. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I59564320015c22be1ec3a4701479d0ee93b9f1f7
* bmc: json configuration: update: add mode parameterPatrick Venture2019-08-051-0/+44
| | | | | | | | | Add the mode parameter as an optional configuration option for the update systemd approach. Previously this was hard-coded as "replace" but now the user can specify something else. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I2bcb61bd9ac5733df6da70f901516d26bd31e2a9
* bmc: provide disabled json supportPatrick Venture2019-07-181-0/+429
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
OpenPOWER on IntegriCloud