[PATCH] CI: install python-cryptography for world build

Casey Connolly <[email protected]> Mon, 20 Jul 2026 14:13:22 +0100
Newsgroups de.denx.lists.u-boot
Message-ID <[email protected]>
The mkmbn Python tool used for some Qualcomm platforms needs the
cryptography module, make sure it's installed so the world build can
succeed.

Signed-off-by: Casey Connolly <[email protected]>
---
 .azure-pipelines.yml | 2 +-
 .gitlab-ci.yml       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 4417ef4e5a50..562c5747c9d3 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -733,9 +733,9 @@ stages:
           python3 -m venv /tmp/venv
           . /tmp/venv/bin/activate
           pip install -r tools/binman/requirements.txt \
             -r tools/buildman/requirements.txt \
-            setuptools
+            setuptools cryptography
           if [[ "${BUILDMAN}" != "" ]]; then
               ret=0;
               tools/buildman/buildman -o /tmp -PEWM ${BUILDMAN} ${OVERRIDE} || ret=$?;
               if [[ $ret -ne 0 ]]; then
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 245e422d72fa..eb13fde82b86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -153,9 +153,9 @@ build all platforms in a single job:
     - python3 -m venv /tmp/venv;
       . /tmp/venv/bin/activate;
       pip install -r tools/binman/requirements.txt
         -r tools/buildman/requirements.txt
-        setuptools
+        setuptools cryptography
     - ret=0;
       git config --global --add safe.directory "${CI_PROJECT_DIR}";
       ./tools/buildman/buildman -o /tmp -PEWM -x xtensa || ret=$?;
       if [[ $ret -ne 0 ]]; then
-- 
2.55.0