summaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@siemens.com>2024-07-04 09:09:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-13 23:28:30 +0100
commit2c27b231f900bb293be8f6b24732305291a1c5ae (patch)
treea97f2ba1f9900c50ac18d1e3c4c9d5648e18fdf6 /meta-selftest
parent7889a5cd4bff32ea5d7a049d3f78434364e36758 (diff)
downloadpoky-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.bbclass19
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
7UBOOT_MKIMAGE = "test_mkimage_wrapper"
8UBOOT_MKIMAGE_SIGN = "test_mkimage_signing_wrapper"
9
10test_mkimage_wrapper() {
11 echo "### uboot-mkimage wrapper message"
12 uboot-mkimage "$@"
13}
14
15test_mkimage_signing_wrapper() {
16 echo "### uboot-mkimage signing wrapper message"
17 uboot-mkimage "$@"
18}
19