On Mon, 31 Aug 2020 at 03:59, Alper Nebi Yasak <alpernebiya...@gmail.com> wrote:
>
> Switch to str.startswith for matching like the FIT etype does since the
> current version doesn't ignore 'hash-1', 'hash-2', etc.
>
> Signed-off-by: Alper Nebi Yasak <alpernebiya...@gmail.com>
> ---
>
> Changes in v2:
> - Add test to check that sections ignore hash*, signature* nodes
>
>  tools/binman/etype/section.py                 |  2 +-
>  tools/binman/ftest.py                         |  6 +++
>  .../165_section_ignore_hash_signature.dts     | 40 +++++++++++++++++++
>  3 files changed, 47 insertions(+), 1 deletion(-)
>  create mode 100644 tools/binman/test/165_section_ignore_hash_signature.dts

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to