mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
libjcat: fix ptests
Some files are not installed with the testsuite, making it fail. Both of these were fixed upstream, however only one patch applies cleanly. The other is fixed with a single "install" command. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From a056df0dadd8aa09a750a65f2b7201b8742c9378 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Tojnar <jtojnar@gmail.com>
|
||||
Date: Fri, 29 Apr 2022 18:02:10 +0200
|
||||
Subject: [PATCH] installed-tests: install firmware.bin.ed25519
|
||||
|
||||
This was forgotten in f802f078ec0349e4056bf764ee4da16fe9973978.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/hughsie/libjcat/commit/a056df0dadd8aa09a750a65f2b7201b8742c9378]
|
||||
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
|
||||
---
|
||||
data/tests/colorhug/meson.build | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/data/tests/colorhug/meson.build b/data/tests/colorhug/meson.build
|
||||
index 7ee3e62..b871500 100644
|
||||
--- a/data/tests/colorhug/meson.build
|
||||
+++ b/data/tests/colorhug/meson.build
|
||||
@@ -1,6 +1,7 @@
|
||||
install_data([
|
||||
'firmware.bin',
|
||||
'firmware.bin.asc',
|
||||
+ 'firmware.bin.ed25519',
|
||||
'firmware.bin.p7b',
|
||||
],
|
||||
install_dir: join_paths(installed_test_bindir, 'colorhug'),
|
||||
@@ -9,6 +9,7 @@ DEPENDS = "\
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/hughsie/libjcat.git;branch=main;protocol=https \
|
||||
file://install_missing_ptest_binary.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRCREV = "ffa0b5a9a49a7880e9ab3ae3b061080f15e95e15"
|
||||
@@ -32,3 +33,7 @@ GTKDOC_MESON_OPTION = "gtkdoc"
|
||||
RDEPENDS:${PN}:class-target = "\
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \
|
||||
"
|
||||
|
||||
do_install_ptest:append(){
|
||||
install ${S}/data/tests/pki/test.ed25519 ${D}${libexecdir}/installed-tests/libjcat/pki/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user