Skip to content

Commit

Permalink
imgtool: Install imgtool dependencies in fih-test
Browse files Browse the repository at this point in the history
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 <rustam.ismayilov@arm.com>
Change-Id: Id05f251024cf126d90d0fea22d21167329530f87
  • Loading branch information
rustammendel committed Oct 31, 2024
1 parent 31dfd12 commit 9d79458
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/fih_test_docker/execute_test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -x

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

# Install imgtool dependencies
pip install -r $MCUBOOT_PATH/scripts/requirements.txt

# build TF-M with MCUBoot
mkdir -p $TFM_BUILD_PATH $TFM_SPE_BUILD_PATH

Expand Down

0 comments on commit 9d79458

Please sign in to comment.