diff --git a/recipes-tpm/swtpm/swtpm-wrappers.bb b/recipes-tpm/swtpm/swtpm-wrappers.bb new file mode 100644 index 0000000..676c35e --- /dev/null +++ b/recipes-tpm/swtpm/swtpm-wrappers.bb @@ -0,0 +1,41 @@ +SUMMARY = "SWTPM - OpenEmbedded wrapper scripts for native swtpm tools" +LICENSE = "MIT" +DEPENDS = "swtpm-native tpm-tools-native" + +inherit native + +# The whole point of the recipe is to make files available +# for use after the build is done, so don't clean up... +RM_WORK_EXCLUDE += "${PN}" + +do_create_wrapper () { + cat >${WORKDIR}/swtpm_setup_oe.sh <${WORKDIR}/swtpm_cuse_oe.sh <