Re: [yocto] [meta-security][PATCH] Do not use clang toolchain in Parsec recipes
On 7/15/21 4:42 AM, Anton Antonov wrote: > Signed-off-by: Anton Antonov Merged. thanks Armin > --- > .../recipes-parsec/parsec-service/parsec-service_0.7.0.bb | 3 +-- > meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb| 2 -- > 2 files changed, 1 insertion(+), 4 deletions(-) > > diff --git > a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb > b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb > index 0e14955..d57a43a 100644 > --- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb > +++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb > @@ -10,8 +10,7 @@ SRC_URI += "crate://crates.io/parsec-service/${PV} \ > file://parsec-tmpfiles.conf \ > " > > -DEPENDS = "tpm2-tss" > -TOOLCHAIN = "clang" > +DEPENDS = "tpm2-tss clang-native" > > CARGO_BUILD_FLAGS += " --features > all-providers,cryptoki/generate-bindings,tss-esapi/generate-bindings" > > diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb > b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb > index 35c65c0..881f8d8 100644 > --- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb > +++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb > @@ -7,8 +7,6 @@ inherit cargo > SRC_URI += "crate://crates.io/parsec-tool/${PV} \ > " > > -TOOLCHAIN = "clang" > - > do_install() { >install -d ${D}/${bindir} >install -m 755 "${B}/target/${TARGET_SYS}/release/parsec-tool" > "${D}${bindir}/parsec-tool" > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54140): https://lists.yoctoproject.org/g/yocto/message/54140 Mute This Topic: https://lists.yoctoproject.org/mt/84223005/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-security][PATCH] Do not use clang toolchain in Parsec recipes
Signed-off-by: Anton Antonov --- .../recipes-parsec/parsec-service/parsec-service_0.7.0.bb | 3 +-- meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb| 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb index 0e14955..d57a43a 100644 --- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb +++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb @@ -10,8 +10,7 @@ SRC_URI += "crate://crates.io/parsec-service/${PV} \ file://parsec-tmpfiles.conf \ " -DEPENDS = "tpm2-tss" -TOOLCHAIN = "clang" +DEPENDS = "tpm2-tss clang-native" CARGO_BUILD_FLAGS += " --features all-providers,cryptoki/generate-bindings,tss-esapi/generate-bindings" diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb index 35c65c0..881f8d8 100644 --- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb +++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb @@ -7,8 +7,6 @@ inherit cargo SRC_URI += "crate://crates.io/parsec-tool/${PV} \ " -TOOLCHAIN = "clang" - do_install() { install -d ${D}/${bindir} install -m 755 "${B}/target/${TARGET_SYS}/release/parsec-tool" "${D}${bindir}/parsec-tool" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54125): https://lists.yoctoproject.org/g/yocto/message/54125 Mute This Topic: https://lists.yoctoproject.org/mt/84223005/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-