Skip to content

Commit 9d79458

Browse files
committed
imgtool: Install imgtool dependencies in fih-test
Install imgtool dependencies before tf-m build in fih-test to fix failing ci job due to ImportError, originating from missing new types added in cryptography library version 40.0.0. Signed-off-by: Rustam Ismayilov <[email protected]> Change-Id: Id05f251024cf126d90d0fea22d21167329530f87
1 parent 31dfd12 commit 9d79458

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/fih_test_docker/execute_test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -x
22

3-
# Copyright (c) 2020-2023 Arm Limited
3+
# Copyright (c) 2020-2024 Arm Limited
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -30,6 +30,9 @@ else
3030
CMAKE_FIH_LEVEL="-DMCUBOOT_FIH_PROFILE=\"$FIH_LEVEL\""
3131
fi
3232

33+
# Install imgtool dependencies
34+
pip install -r $MCUBOOT_PATH/scripts/requirements.txt
35+
3336
# build TF-M with MCUBoot
3437
mkdir -p $TFM_BUILD_PATH $TFM_SPE_BUILD_PATH
3538

0 commit comments

Comments
 (0)