From 1cca28c3d544b18eb1622e03c1e2fa468ba0f7cc Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 24 Mar 2017 10:12:22 +0100 Subject: swtpm-wrappers: wrap more commands Soon it might be possible to let qemu start swtpm directly, without requiring root privileges as for swtpm_cuse. For that to work we also need to wrap the swtpm binary. Just in case we now also do it for everything. Signed-off-by: Patrick Ohly --- recipes-tpm/swtpm/swtpm-wrappers.bb | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/recipes-tpm/swtpm/swtpm-wrappers.bb b/recipes-tpm/swtpm/swtpm-wrappers.bb index 676c35e..0af1db6 100644 --- a/recipes-tpm/swtpm/swtpm-wrappers.bb +++ b/recipes-tpm/swtpm/swtpm-wrappers.bb @@ -9,7 +9,13 @@ inherit native RM_WORK_EXCLUDE += "${PN}" do_create_wrapper () { - cat >${WORKDIR}/swtpm_setup_oe.sh <${WORKDIR}/swtpm_setup_oe.sh <${WORKDIR}/swtpm_cuse_oe.sh <${WORKDIR}/${exe}_oe.sh <