From 8ce46e3e02ba81356487f36c65c79a9077956620 Mon Sep 17 00:00:00 2001 From: Artur Hadasz Date: Wed, 18 Dec 2024 11:38:29 +0100 Subject: [PATCH] suit: Fix root manifest to boot recovery with hardware button It is currently impossible write a manifest with a declared list with more than 3 components. This lead to a failure during manifest processing. Signed-off-by: Artur Hadasz --- .../root_with_binary_nordic_top.yaml.jinja2 | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2 b/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2 index db957db3deb..b110751005b 100644 --- a/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2 +++ b/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2 @@ -93,7 +93,25 @@ SUIT_Envelope_Tagged: name: nRF54H20_nordic_top suit-shared-sequence: - - suit-directive-set-component-index: [{{ component_list|join(',') }}] + - suit-directive-set-component-index: [{{ component_list_without_top|join(',') }}] + - suit-directive-override-parameters: + suit-parameter-vendor-identifier: + RFC4122_UUID: {{ mpi_root_vendor_name }} + suit-parameter-class-identifier: + RFC4122_UUID: + namespace: {{ mpi_root_vendor_name }} + name: {{ mpi_root_class_name }} + - suit-condition-vendor-identifier: + - suit-send-record-success + - suit-send-record-failure + - suit-send-sysinfo-success + - suit-send-sysinfo-failure + - suit-condition-class-identifier: + - suit-send-record-success + - suit-send-record-failure + - suit-send-sysinfo-success + - suit-send-sysinfo-failure + - suit-directive-set-component-index: [{{ top_component_index }}] - suit-directive-override-parameters: suit-parameter-vendor-identifier: RFC4122_UUID: {{ mpi_root_vendor_name }}