
Hi Kever,
Am Freitag, 1. Mai 2020, 12:32:23 CEST schrieb Kever Yang:
On 2020/4/21 上午8:23, Heiko Stuebner wrote:
From: Heiko Stuebner heiko.stuebner@theobroma-systems.com
If the newly added fit-generator key-options are found, append needed signature nodes to all generated image blocks, so that they can get signed when mkimage later compiles the .itb from the generated .its.
Signed-off-by: Heiko Stuebner heiko.stuebner@theobroma-systems.com
arch/arm/mach-rockchip/make_fit_atf.py | 51 +++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py index d15c32b303..5b353f9d0a 100755 --- a/arch/arm/mach-rockchip/make_fit_atf.py +++ b/arch/arm/mach-rockchip/make_fit_atf.py @@ -14,6 +14,8 @@ import sys import getopt import logging import struct +import Crypto +from Crypto.PublicKey import RSA
+Traceback (most recent call last): 1395 https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip/-/jobs/86952#L1395+ File "arch/arm/mach-rockchip/make_fit_atf.py", line 17, in <module> 1396 https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip/-/jobs/86952#L1396+ import Crypto 1397 https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip/-/jobs/86952#L1397+ModuleNotFoundError: No module named 'Crypto'
Please help to update .gitlab-ci.yml, or else it will report the error.
I'm not sure, how ... i.e. the missing package is "pycrypto" (or "python-crypto" when installing from a distribution package)
So I guess it's about adding that dependency to both .travis.yml and .gitlab-ci.yml, but is it enough to just do a
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index beaf9b9042..863c3dea51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,7 @@ build all 64bit ARM platforms: - virtualenv -p /usr/bin/python3 /tmp/venv - . /tmp/venv/bin/activate - pip install pyelftools + - pip install pycrypto - ret=0; ./tools/buildman/buildman -o /tmp -P -E -W aarch64 || ret=$?; if [[ $ret -ne 0 ]]; then