diff options
author | Lei YU <mine260309@gmail.com> | 2019-12-31 14:35:00 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2020-01-21 10:37:25 +0800 |
commit | 647d6134d448178e6b32892322596a5cc3d78b2d (patch) | |
tree | 635ec199bcdcdbe3111ec69683d28d83c958e1e3 /ubi/activation_ubi.hpp | |
parent | 00d8ade53c7fcea79ec6a71b74d431f2a4a6bf4b (diff) | |
download | openpower-pnor-code-mgmt-master.tar.gz openpower-pnor-code-mgmt-master.zip |
The openbmc image manager expects "MachineName" in MANIFEST that matches
the BMC's OPENBMC_TARGET_MACHINE in /etc/os-release.
* If there is no MachineName in MANIFEST, it logs a warning for now;
* If they do not match, an error is reported and the version is deleted.
Add -m, --machine argument for generate-tar to make it support the
"MachineName".
Tested: Verify that when a correct machine name is given, the tarball is
processed by image manager correctly;
And if an invalid machine name is given, the tarball uploaded
will get "Machine name doesn't match" error and is deleted.
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I8fbb5060cb1be348c39e0688fe7306426cc4ed77
Diffstat (limited to 'ubi/activation_ubi.hpp')
0 files changed, 0 insertions, 0 deletions