diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2019-10-29 17:03:05 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2020-01-23 09:02:43 +0800 |
commit | 059cc5168f9b24eb5278e084909afe47db2861a6 (patch) | |
tree | e1831fde970b916ee182fecd1947d159e5fa9df4 /utils/pb-config.c | |
parent | 2f6259d468dd9cab890c95ee0895f00db0300842 (diff) | |
download | talos-petitboot-059cc5168f9b24eb5278e084909afe47db2861a6.tar.gz talos-petitboot-059cc5168f9b24eb5278e084909afe47db2861a6.zip |
discover/boot: unify verification failure messages
Currently, we have two sites where the result of validate_boot_files is
interpreted: in kexec_load, and boot_process. In the former, we generate
the pb_log message, and in the latter we generate the status message.
This means we have separate places to maintain similar error messages,
which is prone to future errors. This change does all of the
interpretation directly after calling validate_boot_files().
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'utils/pb-config.c')
0 files changed, 0 insertions, 0 deletions