All of lore.kernel.org
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: Khem Raj <raj.khem@gmail.com>, Armin Kuster <akuster808@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-security][PATCH 05/17] tpm2simulator: add package
Date: Mon, 17 Oct 2016 18:21:00 -0700	[thread overview]
Message-ID: <a03ea6fc-d9e2-a4cc-aa0f-e66bbdfaead7@gmail.com> (raw)
In-Reply-To: <3068B16C-E69A-4A25-A210-688E4248AA9A@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1858 bytes --]



On 10/17/2016 05:13 PM, Khem Raj wrote:
>> On Oct 17, 2016, at 5:02 PM, Armin Kuster <akuster808@gmail.com> wrote:
>>
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> ---
>> .../tpm2simulator/tpm2simulator-native_116.bb      | 25 ++++++++++++++++++++++
>> 1 file changed, 25 insertions(+)
>> create mode 100644 recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb
>>
>> diff --git a/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb b/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb
>> new file mode 100644
>> index 0000000..33eaf99
>> --- /dev/null
>> +++ b/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb
>> @@ -0,0 +1,25 @@
>> +SUMMARY = "TPM 2.0 Simulator Extraction Script"
>> +LICENSE = "BSD-2-Clause"
>> +LIC_FILES_CHKSUM = "file://../LICENSE;md5=1415f7be284540b81d9d28c67c1a6b8b"
>> +
>> +DEPENDS += "python"
>> +
>> +SRCREV = "93dc4412432013ed7bcabd42007754c68f6e362e"
>> +SRC_URI = "git://github.com/stwagnr/tpm2simulator.git"
>> +
>> +S = "${WORKDIR}/git/cmake"
>> +
>> +PV = "116+git${SRCPV}"
>> +
>> +inherit native lib_package cmake
>> +
>> +EXTRA_OECMAKE = " \
>> +	-DCMAKE_BUILD_TYPE=Debug \
>> +	-DSPEC_VERSION=116 \
>> +"
>> +
>> +do_configure_prepend () {
>> +	sed -i 's/^SET = False/SET = True/' ${WORKDIR}/git/scripts/settings.py
> use S instead of WORKDIR
S = "${WORKDIR}/git/cmake"

that file does not reside there.

the build process does a relative ref outside the "cmake" dir to run the 
scripts.

unless you mean I should do " ${S}/../scripts/settings.py" ?
>
>> +}
>> +
>> +BBCLASSEXTEND = “native"
> it is not needed.
k

thanks for the review.

- armin
>
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>


[-- Attachment #2: Type: text/html, Size: 3355 bytes --]

  reply	other threads:[~2016-10-18  1:21 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18  0:02 [meta-security][PATCH 01/17] tpm2.0-tss: Add new package Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 02/17] tpm-tools: add native support Armin Kuster
2016-10-18  0:10   ` Khem Raj
2016-10-18  1:29     ` akuster808
2016-10-18  1:32       ` Khem Raj
2016-10-18  0:02 ` [meta-security][PATCH 03/17] libtpm: add new package Armin Kuster
2016-10-18  0:14   ` Khem Raj
2016-10-18  1:22     ` akuster808
2016-10-18  0:02 ` [meta-security][PATCH 04/17] swtpm: " Armin Kuster
2016-10-18  0:17   ` Khem Raj
2016-10-18  3:57     ` akuster808
2016-10-18  4:14   ` Andre McCurdy
2016-10-18 15:35     ` akuster808
2016-10-18  0:02 ` [meta-security][PATCH 05/17] tpm2simulator: add package Armin Kuster
2016-10-18  0:13   ` Khem Raj
2016-10-18  1:21     ` akuster808 [this message]
2016-10-18  1:31       ` Khem Raj
2016-10-18  0:02 ` [meta-security][PATCH 06/17] qemu: Add tpm flag Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 07/17] image: at image to help test builds Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 08/17] layer.conf: Add filesystem depends Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 09/17] package-group: Add tpm packages Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 10/17] tpm-tools: Fix gcc6 compile issue Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 11/17] linux-yocto-4.8: add tpm fragments Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 12/17] images: add a client and server image Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 13/17] package-group: fix tpm package list Armin Kuster
2016-10-24  9:43   ` Thomas PERROT
2016-10-24 23:23     ` akuster808
2016-10-18  0:02 ` [meta-security][PATCH 14/17] suricata: update package to 3.1.2 Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 15/17] samhain: recipe cleanup Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 16/17] libnetaddr-ip-perl: remove package. not used by anyone in this layer Armin Kuster
2016-10-18  0:02 ` [meta-security][PATCH 17/17] python-pycrypto: simplify to use pypi class Armin Kuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a03ea6fc-d9e2-a4cc-aa0f-e66bbdfaead7@gmail.com \
    --to=akuster808@gmail.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.