From: Yunguo Wei <[email protected]> If the recipe qat17 was built, and kernel was re-configure(i.e set CONFIG_BACKTRACE_SELF_TEST=m), then rebuild the qat17 will trigger the following error:
Exception: bb.process.ExecutionError: Execution of tmp-glibc/work/intel_x86_64-wrs-linux/qat17/4.7.0-00006-r0/temp/run.do_switch_to_skcipher_api.42824' failed with exit code 1: patching file quickassist/qat/drivers/crypto/qat/qat_common/qat_algs.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 32 out of 32 hunks ignored – saving rejects to file quickassist/qat/drivers/crypto/qat/qat_common/qat_algs.c.rej patching file quickassist/qat/drivers/crypto/qat/qat_common/qat_crypto.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored – saving rejects to file quickassist/qat/drivers/crypto/qat/qat_common/qat_crypto.h.rej WARNING: exit code 1 from a shell command. This is due to inappropriate dependency, the qat reciepe is re-applying patch to the source code that do_patch has been executed. If virtual/kernel is changed, qat should build from code fetching rather than patching. Signed-off-by: Yunguo Wei <[email protected]> Signed-off-by: Jun Miao <[email protected]> --- recipes-extended/qat/qat17_4.7.0-00006.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/qat/qat17_4.7.0-00006.bb b/recipes-extended/qat/qat17_4.7.0-00006.bb index 2f783f5..1d34ce2 100644 --- a/recipes-extended/qat/qat17_4.7.0-00006.bb +++ b/recipes-extended/qat/qat17_4.7.0-00006.bb @@ -25,7 +25,7 @@ SRC_URI = "https://01.org/sites/default/files/downloads/qat1.7.l.4.7.0-00006.tar file://qat17_4.7.0-00006-make-it-compatible-with-kernel-5.6.patch;apply=0 \ " -do_patch[depends] += "virtual/kernel:do_shared_workdir" +do_fetch[depends] += "virtual/kernel:do_shared_workdir" do_patch_append () { if d.getVar("KERNEL_VERSION") >= "5.5%": -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6508): https://lists.yoctoproject.org/g/meta-intel/message/6508 Mute This Topic: https://lists.yoctoproject.org/mt/73214995/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
