SUMMARY = "SWTPM - OpenEmbedded wrapper scripts for native swtpm tools" LICENSE = "MIT" DEPENDS = "swtpm-native tpm-tools-native net-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 () { # Wrap (almost) all swtpm binaries. Some get special wrappers and some # are not needed. for i in `find ${bindir} ${base_bindir} ${sbindir} ${base_sbindir} -name 'swtpm*' -perm /+x -type f`; do exe=`basename $i` case $exe in swtpm_setup.sh) cat >${WORKDIR}/swtpm_setup_oe.sh <${WORKDIR}/${exe}_oe.sh <