openssl-tpm-engine: fix warning for append operator combined with +=
PATCH 1/2 openssl-tpm-engine: fix warning for append operator combined with +=
Fixes:
WARNING: openssl-tpm-engine_0.5.0.bb: CFLAGS:append += is not a recommended operator combination, please replace it.
--- .../openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb +2 -2
@@ -35,10 +35,10 @@ inherit autotools-brokensep pkgconfig srk_dec_pw ?= "\\"\\\x1\\"\\"nc\\"\\"\\\x3\\"\\"nd\\"\\"\\\x1\\"\\"a\\"" srk_dec_salt ?= "\\"r\\"\\"\\\x00\\\x00\\"\\"t\\"" -CFLAGS:append += "-DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}" +CFLAGS:append = " -DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}" # Uncomment below line if using the plain srk password for development -#CFLAGS_append += "-DTPM_SRK_PLAIN_PW" +#CFLAGS:append = " -DTPM_SRK_PLAIN_PW" do_configure:prepend() { cd ${B}
Signature · 1 line
2.25.1
PATCH 2/2 meta-parsec/README.md: fix for append operator combined with +=
--- meta-parsec/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-parsec/README.md +3 -3
@@ -80,7 +80,7 @@ Manual testing with runqemu This layer also contains a recipe for pasec-tool which can be used for manual testing of the Parsec service: - IMAGE_INSTALL:append += " parsec-tools" + IMAGE_INSTALL:append = " parsec-tools" There are a series of Parsec Demo videos showing how to use parsec-tool to test the Parsec service base functionality:
@@ -104,7 +104,7 @@ enabled. No changes required. The Software HSM can be used for manual testing of the provider by including it into your test image: - IMAGE_INSTALL:append += " softhsm" + IMAGE_INSTALL:append = " softhsm" Inside the running VM: - Stop Parsec
@@ -135,7 +135,7 @@ systemctl start parsec The IBM Software TPM service can be used for manual testing of the provider by including it into your test image: - IMAGE_INSTALL:append += " ibmswtpm2 tpm2-tools libtss2 libtss2-tcti-mssim" + IMAGE_INSTALL:append = " ibmswtpm2 tpm2-tools libtss2 libtss2-tcti-mssim" Inside the running VM: - Stop Parsec
Signature · 1 line
2.25.1
Re: [yocto] [meta-security][PATCH 2/2] meta-parsec/README.md: fix for append operator combined with +=
thanks.
merged.
Quoted 45 lines · Yi Zhao
Signed-off-by Yi Zhao <[email protected]>--- meta-parsec/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta-parsec/README.md +3
-4@@ -80,7 +80,7 @@ Manual testing with runqemu This layer also contains a recipe for pasec-tool which can be used for manual testing of the Parsec service: - IMAGE_INSTALL:append += " parsec-tools" + IMAGE_INSTALL:append = " parsec-tools" There are a series of Parsec Demo videos showing how to use parsec-tool to test the Parsec service base functionality:@@ -104,7 +104,7 @@ enabled. No changes required. The Software HSM can be used for manual testing of the provider by including it into your test image: - IMAGE_INSTALL:append += " softhsm" + IMAGE_INSTALL:append = " softhsm" Inside the running VM: - Stop Parsec@@ -135,7 +135,7 @@ systemctl start parsec The IBM Software TPM service can be used for manual testing of the provider by including it into your test image: - IMAGE_INSTALL:append += " ibmswtpm2 tpm2-tools libtss2 libtss2-tcti-mssim" + IMAGE_INSTALL:append = " ibmswtpm2 tpm2-tools libtss2 libtss2-tcti-mssim" Inside the running VM: - Stop Parsec -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#55377): https://lists.yoctoproject.org/g/yocto/message/55377
Mute This Topic: https://lists.yoctoproject.org/mt/87169936/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
merged.
thanks
Quoted 35 lines · Yi Zhao
Fixes:
WARNING: openssl-tpm-engine_0.5.0.bb: CFLAGS:append += is not a recommended operator combination, please replace it.Signed-off-by Yi Zhao <[email protected]>--- .../openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb +2
-3@@ -35,10 +35,10 @@ inherit autotools-brokensep pkgconfig srk_dec_pw ?= "\\"\\\x1\\"\\"nc\\"\\"\\\x3\\"\\"nd\\"\\"\\\x1\\"\\"a\\"" srk_dec_salt ?= "\\"r\\"\\"\\\x00\\\x00\\"\\"t\\"" -CFLAGS:append += "-DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}" +CFLAGS:append = " -DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}" # Uncomment below line if using the plain srk password for development -#CFLAGS_append += "-DTPM_SRK_PLAIN_PW" +#CFLAGS:append = " -DTPM_SRK_PLAIN_PW" do_configure:prepend() { cd ${B} -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#55378): https://lists.yoctoproject.org/g/yocto/message/55378
Mute This Topic: https://lists.yoctoproject.org/mt/87169937/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-