diff options
author | Adrian Freihofer <adrian.freihofer@siemens.com> | 2024-07-04 09:09:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-13 23:28:30 +0100 |
commit | 2c27b231f900bb293be8f6b24732305291a1c5ae (patch) | |
tree | a97f2ba1f9900c50ac18d1e3c4c9d5648e18fdf6 /meta-selftest | |
parent | 7889a5cd4bff32ea5d7a049d3f78434364e36758 (diff) | |
download | poky-2c27b231f900bb293be8f6b24732305291a1c5ae.tar.gz |
oe-selftest: fitimage drop test-mkimage-wrapper
Rather than writing hints into log files and verify the hints can be
found, the tests should verify that the artifacts in the deploy folder
are correctly signed. This is a much better test.
u-boot-tools provide a utility fit_check_sign which can verify the
signatures in fit images. Lets use it.
grepping in temp/run. or temp/log. files also does not work if the tasks
runs from sstate and the corresponding run file is not even generated.
(From OE-Core rev: 86e504b4f792eeadd67ea57dd71a62bcb4f16f02)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r-- | meta-selftest/classes/test-mkimage-wrapper.bbclass | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta-selftest/classes/test-mkimage-wrapper.bbclass b/meta-selftest/classes/test-mkimage-wrapper.bbclass deleted file mode 100644 index 7c98d7b71e..0000000000 --- a/meta-selftest/classes/test-mkimage-wrapper.bbclass +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # Class to test UBOOT_MKIMAGE and UBOOT_MKIMAGE_SIGN | ||
2 | # (in conjunction with kernel-fitimage.bbclass) | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | |||
7 | UBOOT_MKIMAGE = "test_mkimage_wrapper" | ||
8 | UBOOT_MKIMAGE_SIGN = "test_mkimage_signing_wrapper" | ||
9 | |||
10 | test_mkimage_wrapper() { | ||
11 | echo "### uboot-mkimage wrapper message" | ||
12 | uboot-mkimage "$@" | ||
13 | } | ||
14 | |||
15 | test_mkimage_signing_wrapper() { | ||
16 | echo "### uboot-mkimage signing wrapper message" | ||
17 | uboot-mkimage "$@" | ||
18 | } | ||
19 | |||