[yocto] M+ & H bugs with Milestone Movements WW22

2022-05-30 Thread Stephen Jolley
All, YP M+ or high bugs which moved to a new milestone in WW22 are listed below: Priority Bug ID Short Description Changer Owner Was Became High 14065 Automated ptest regression testing richard.pur...@linuxfoundation.org una

[yocto] Enhancements/Bugs closed WW22!

2022-05-30 Thread Stephen Jolley
All, The below were the owners of enhancements or bugs closed during the last week! Who Count richard.pur...@linuxfoundation.org 3 michael.opdenac...@bootlin.com 1 pa...@zhukoff.net 1 jon.ma...@arm.com 1 Grand Total 6 Thanks, Stephen K. Jolley Yocto Project Program Manager

[yocto] Current high bug count owners for Yocto Project 4.1

2022-05-30 Thread Stephen Jolley
All, Below is the list as of top 38 bug owners as of the end of WW22 of who have open medium or higher bugs and enhancements against YP 4.1. There are 105 possible work days left until the final release candidates for YP 4.1 needs to be released. Who Count michael.opdenac...@bootlin.com 38

[yocto] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2022-05-30 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading: https://wiki.yoctoproject.org/wiki/Bug_Triage#Newc

[yocto] [meta-security][PATCH 1/3] tpm2-pkcs11: we really need the symlinks

2022-05-30 Thread Armin Kuster
MASK dev-so Drop un-needed install append steps. Signed-off-by: Armin Kuster --- .../recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.8.0.bb | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.8.0.bb b/meta-tpm/recipes-tpm2/t

[yocto] [meta-security][PATCH 3/3] oeqa/smack: consolidate classes

2022-05-30 Thread Armin Kuster
Signed-off-by: Armin Kuster --- lib/oeqa/runtime/cases/smack.py | 39 - 1 file changed, 39 deletions(-) diff --git a/lib/oeqa/runtime/cases/smack.py b/lib/oeqa/runtime/cases/smack.py index 35e87ef..b8255c7 100644 --- a/lib/oeqa/runtime/cases/smack.py +++ b/lib/oeq

[yocto] [meta-security][PATCH 2/3] smack-test: switch to python3

2022-05-30 Thread Armin Kuster
Signed-off-by: Armin Kuster --- recipes-mac/smack/smack-test_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-mac/smack/smack-test_1.0.bb b/recipes-mac/smack/smack-test_1.0.bb index d7824ae..3ab57c6 100644 --- a/recipes-mac/smack/smack-test_1.0.bb +++ b/recipes-

[yocto] [meta-tpm][PATCH 5/5] oeqa/tpm2: fix and cleanup tests

2022-05-30 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/lib/oeqa/runtime/cases/tpm2.py | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/meta-tpm/lib/oeqa/runtime/cases/tpm2.py b/meta-tpm/lib/oeqa/runtime/cases/tpm2.py index c2c95e7..e64d19d 100644 --- a/meta-tpm/li

[yocto] [meta-tpm][PATCH 4/5] oeqa/swtpm: add swtpm runtime

2022-05-30 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/lib/oeqa/runtime/cases/swtpm.py | 24 1 file changed, 24 insertions(+) create mode 100644 meta-tpm/lib/oeqa/runtime/cases/swtpm.py diff --git a/meta-tpm/lib/oeqa/runtime/cases/swtpm.py b/meta-tpm/lib/oeqa/runtime/cases/swtpm.py

[yocto] [meta-tpm][PATCH 3/5] swtpm: enable gnutls

2022-05-30 Thread Armin Kuster
needed for cert support Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb index db6ceee..03899d8 100644 --- a/met

[yocto] [meta-tpm][PATCH 2/5] security-tpm2-image: add swtpm

2022-05-30 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-core/images/security-tpm2-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-tpm/recipes-core/images/security-tpm2-image.bb b/meta-tpm/recipes-core/images/security-tpm2-image.bb index 7e047d1..941a661 100644 --- a/meta-tpm/recipes-c

[yocto] [meta-tpm][PATCH 1/5] swtpm: enable seccomp if DISTRO is enabled

2022-05-30 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb index 85e4c5d..db6ceee 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb +++ b/

Re: [yocto] running application in user mode instead of root #yocto

2022-05-30 Thread Anton Antonov
Hi, You can use start-stop-daemon command with "--chiud" parameter. Here is an example: https://git.yoctoproject.org/meta-security/tree/meta-parsec/recipes-parsec/parsec-service/files/parsec_init Cheers, Anton -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Rep

Re: [yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Cardenas Jose Antonio (JCARDENA)
Ok, i will investigate it. Thank you very much! -Mensaje original- De: Alexander Kanavin Enviado el: lunes, 30 de mayo de 2022 14:41 Para: Cardenas Jose Antonio (JCARDENA) CC: yocto@lists.yoctoproject.org Asunto: Re: [yocto] How to modify an existing file from an optional recipe? CAUTI

Re: [yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Alexander Kanavin
Then you should look at something like ROOTFS_POSTPROCESS_COMMAND, which runs an extensible set of functions after the rootfs for a target image has been formed through package install in do_rootfs. Alex On Mon, 30 May 2022 at 14:31, Cardenas Jose Antonio (JCARDENA) wrote: > > I can't. The file

Re: [yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Cardenas Jose Antonio (JCARDENA)
I can't. The file that i'm trying to modify is a configuration file of a service that is built with its recipe and in my "optional" recipe what i'm trying to do is change a parameter of that configuration file. -Mensaje original- De: Alexander Kanavin Enviado el: lunes, 30 de mayo de

Re: [yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Alexander Kanavin
I'd say it's better to modify the original recipe, can you do that? Alex On Mon, 30 May 2022 at 13:39, Cardenas Jose Antonio (JCARDENA) wrote: > > Yes, indeed. It's a hack to be able to run some tests. Does the "image post > processing task" that you comment related with SDK_POSTPROCESS_COMMAND

Re: [yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Cardenas Jose Antonio (JCARDENA)
Yes, indeed. It's a hack to be able to run some tests. Does the "image post processing task" that you comment related with SDK_POSTPROCESS_COMMAND? Regards. -Mensaje original- De: Alexander Kanavin Enviado el: lunes, 30 de mayo de 2022 13:29 Para: Cardenas Jose Antonio (JCARDENA) CC:

Re: [yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Alexander Kanavin
You can do this with a postinst scriptlet, or with an image post processing task, but generally this looks like a hack regardless of how you do it. What is the file for, and why does it need to be replaced? Alex On Mon, 30 May 2022 at 13:23, Cardenas Jose Antonio (JCARDENA) wrote: > > Hi all, >

[yocto] How to modify an existing file from an optional recipe?

2022-05-30 Thread Cardenas Jose Antonio (JCARDENA)
Hi all, I have a recipe that is built only with the SDK that modifies the content of an existing file in the rootfs by doing "install -m 644 ${WORKDIR}/my_file ${D}${sysconfdir}/my_file" but this command is returning next error: Error: Transaction check error: file /etc/my_file between attemp

Re: [yocto] running application in user mode instead of root #yocto

2022-05-30 Thread mail2uvijay
any one has example bitbake script which runs the application by the user instead of root. When i start the application using startup scripts [init.d] its running with root user. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57210): https://lists