[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

unassig...@yoctoproject.org

4.1 M1

4.1 M2


Medium+

  4530

gconv data needs virtual providers

richard.pur...@linuxfoundation.org

newco...@yoctoproject.org

Future

4.99

Thanks, 

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com  

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57230): https://lists.yoctoproject.org/g/yocto/message/57230
Mute This Topic: https://lists.yoctoproject.org/mt/91441649/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57229): https://lists.yoctoproject.org/g/yocto/message/57229
Mute This Topic: https://lists.yoctoproject.org/mt/91441635/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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


ross.bur...@arm.com

23


david.re...@windriver.com

22


bruce.ashfi...@gmail.com

20


randy.macl...@windriver.com

17


richard.pur...@linuxfoundation.org

15


sakib.sa...@windriver.com

12


jpewhac...@gmail.com

9


tim.orl...@konsulko.com

8


saul.w...@windriver.com

7


jon.ma...@arm.com

4


pa...@zhukoff.net

4


kai.k...@windriver.com

4


mhalst...@linuxfoundation.org

3


akuster...@gmail.com

3


pgowda@gmail.com

2


tvgamb...@gmail.com

2


sundeep.kokko...@gmail.com

2


hongxu@windriver.com

2


abongwabonal...@gmail.com

2


qi.c...@windriver.com

2


aryaman.gu...@windriver.com

2


mostthings...@gmail.com

1


alejan...@enedino.org

1


martin.ja...@gmail.com

1


beh...@converseincode.com

1


aeh...@gmail.com

1


shac...@vdoo.com

1


nicolas.deche...@linaro.org

1


ola.x.nils...@axis.com

1


martin.bee...@online.de

1


raj.k...@gmail.com

1


open.sou...@oleksandr-kravchuk.com

1


thomas.per...@bootlin.com

1


kexin@windriver.com

1


jay.shen.t...@intel.com

1


alexandre.bell...@bootlin.com

1


liezhi.y...@windriver.com

1


Grand Total

219

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57228): https://lists.yoctoproject.org/g/yocto/message/57228
Mute This Topic: https://lists.yoctoproject.org/mt/91441579/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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#Newcomer_Bugs  Also please
review:
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and
how to create a bugzilla account at:

https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work
on who doesn't have deep experience with the project.  If anyone can help,
please take ownership of the bug and send patches!  If anyone needs
help/advice there are people on irc who can likely do so, or some of the
more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs
reported into the Bugzilla. The number of people attending that meeting has
fallen, as have the number of people available to help fix bugs. One of the
things we hear users report is they don't know how to help. We (the triage
team) are therefore going to start reporting out the currently 423
unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out
with these.  Bugs are split into two types, "true bugs" where things don't
work as they should and "enhancements" which are features we'd want to add
to the system.  There are also roughly four different "priority" classes
right now,  "4.1", "4.2", "4.99" and "Future", the more pressing/urgent
issues being in "4.1" and then "4.2".

 

Please review this link and if a bug is something you would be able to help
with either take ownership of the bug, or send me (sjolley.yp...@gmail.com
 ) an e-mail with the bug number you would
like and I will assign it to you (please make sure you have a Bugzilla
account).  The list is at:
https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer
_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57227): https://lists.yoctoproject.org/g/yocto/message/57227
Mute This Topic: https://lists.yoctoproject.org/mt/91441560/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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/tpm2-pkcs11/tpm2-pkcs11_1.8.0.bb
index e8812d0..dd0a0b5 100644
--- a/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.8.0.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.8.0.bb
@@ -25,15 +25,6 @@ do_compile:append() {
 }
 
 do_install:append() {
-install -d ${D}${libdir}/pkcs11
-install -d ${D}${datadir}/p11-kit
-
-# remove symlinks
-rm -f ${D}${libdir}/pkcs11/libtpm2_pkcs11.so
-
-#install lib
-install -m 755 ${B}/src/.libs/libtpm2_pkcs11.so 
${D}${libdir}/pkcs11/libtpm2_pkcs11.so
-
 cd ${S}/tools
 export PYTHONPATH="${D}${PYTHON_SITEPACKAGES_DIR}"
 ${PYTHON_PN} setup.py install --root="${D}" --prefix="${prefix}" 
--install-lib="${PYTHON_SITEPACKAGES_DIR}" --optimize=1 --skip-build
@@ -53,5 +44,7 @@ FILES:${PN} += "\
 ${datadir}/p11-kit/* \
 "
 
+INSANE_SKIP:${PN}   += "dev-so"
+
 RDEPENDS:${PN} = "p11-kit tpm2-tools "
 RDEPENDS:${PN}-tools = "${PYTHON_PN}-pyyaml ${PYTHON_PN}-cryptography 
${PYTHON_PN}-pyasn1-modules"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57224): https://lists.yoctoproject.org/g/yocto/message/57224
Mute This Topic: https://lists.yoctoproject.org/mt/91440621/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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/oeqa/runtime/cases/smack.py
@@ -29,8 +29,6 @@ class SmackBasicTest(OERuntimeTestCase):
 status,output = self.target.run("cat /proc/self/attr/current")
 self.current_label = output.strip()
 
-class SmackAccessLabel(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_add_access_label(self):
 ''' Test if chsmack can correctly set a SMACK label '''
@@ -54,8 +52,6 @@ class SmackAccessLabel(SmackBasicTest):
 "%s %s" %(LABEL,label_retrieved))
 
 
-class SmackExecLabel(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_add_exec_label(self):
 '''Test if chsmack can correctly set a SMACK Exec label'''
@@ -79,8 +75,6 @@ class SmackExecLabel(SmackBasicTest):
 "%s %s" %(LABEL,label_retrieved))
 
 
-class SmackMmapLabel(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_add_mmap_label(self):
 '''Test if chsmack can correctly set a SMACK mmap label'''
@@ -104,8 +98,6 @@ class SmackMmapLabel(SmackBasicTest):
 "%s %s" %(LABEL,label_retrieved))
 
 
-class SmackTransmutable(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_add_transmutable(self):
 '''Test if chsmack can correctly set a SMACK transmutable mode'''
@@ -128,8 +120,6 @@ class SmackTransmutable(SmackBasicTest):
 "%s %s" %(LABEL,label_retrieved))
 
 
-class SmackChangeSelfLabelPrivilege(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_privileged_change_self_label(self):
 '''Test if privileged process (with CAP_MAC_ADMIN privilege)
@@ -145,8 +135,6 @@ class SmackChangeSelfLabelPrivilege(SmackBasicTest):
 self.assertIn("PRIVILEGED", output,
 "Privilege process did not change label.Output: %s" 
%output)
 
-class SmackChangeSelfLabelUnprivilege(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_unprivileged_change_self_label(self):
 '''Test if unprivileged process (without CAP_MAC_ADMIN privilege)
@@ -163,8 +151,6 @@ class SmackChangeSelfLabelUnprivilege(SmackBasicTest):
 "Unprivileged process should not be able to change its label")
 
 
-class SmackChangeFileLabelPrivilege(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_unprivileged_change_file_label(self):
 '''Test if unprivileged process cannot change file labels'''
@@ -183,8 +169,6 @@ class SmackChangeFileLabelPrivilege(SmackBasicTest):
 self.target.run("rm %s" % filename)
 self.assertEqual( status, 0, "Unprivileged process changed label for 
%s" %filename)
 
-class SmackLoadRule(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_load_smack_rule(self):
 '''Test if new smack access rules can be loaded'''
@@ -211,8 +195,6 @@ class SmackLoadRule(SmackBasicTest):
 self.target.run('echo -n "%s" > %s/load' %(clean, self.smack_path))
 
 
-class SmackOnlycap(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_smack_onlycap(self):
 '''Test if smack onlycap label can be set
@@ -223,7 +205,6 @@ class SmackOnlycap(SmackBasicTest):
 status, output = self.target.run("sh /usr/sbin/test_smack_onlycap.sh")
 self.assertEqual(status, 0, output)
 
-class SmackNetlabel(SmackBasicTest):
 
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_smack_netlabel(self):
@@ -246,7 +227,6 @@ class SmackNetlabel(SmackBasicTest):
 test_label, output,
 "Did not find expected label in output: %s" %output)
 
-class SmackCipso(SmackBasicTest):
 
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_smack_cipso(self):
@@ -287,7 +267,6 @@ class SmackCipso(SmackBasicTest):
 self.assertEqual(status, 0, "Cipso rule C was not set")
 self.assertIn("/17,33", output, "Rule C was not set correctly")
 
-class SmackDirect(SmackBasicTest):
 
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_smack_direct(self):
@@ -308,8 +287,6 @@ class SmackDirect(SmackBasicTest):
 "Smack direct label does not match.")
 
 
-class SmackAmbient(SmackBasicTest):
-
 @OETestDepends(['smack.SmackBasicTest.test_smack_basic'])
 def test_smack_ambient(self):
 test_ambient = "test_ambient"
@@ -330,8 +307,6 @@ class SmackAmbient(SmackBasicTest):
 "Ambient label does not match")
 
 
-class SmackloadBinary(SmackBasicTest):
-

[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-mac/smack/smack-test_1.0.bb
@@ -22,4 +22,4 @@ do_install() {
 install -m 0755 *.sh ${D}${sbindir}
 }
 
-RDEPENDS:${PN} = "smack python mmap-smack-test tcp-smack-test udp-smack-test"
+RDEPENDS:${PN} = "smack python3-core mmap-smack-test tcp-smack-test 
udp-smack-test"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57225): https://lists.yoctoproject.org/g/yocto/message/57225
Mute This Topic: https://lists.yoctoproject.org/mt/91440622/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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/lib/oeqa/runtime/cases/tpm2.py
+++ b/meta-tpm/lib/oeqa/runtime/cases/tpm2.py
@@ -1,11 +1,19 @@
-# Copyright (C) 2019 Armin Kuster 
+# Copyright (C) 2019 - 2022 Armin Kuster 
 #
 from oeqa.runtime.case import OERuntimeTestCase
 from oeqa.core.decorator.depends import OETestDepends
 from oeqa.runtime.decorator.package import OEHasPackage
-
+from oeqa.core.decorator.data import skipIfNotFeature
 
 class Tpm2Test(OERuntimeTestCase):
+@classmethod
+def setUpClass(cls):
+cls.tc.target.run('mkdir /tmp/myvtpm2')
+
+@classmethod
+def tearDownClass(cls):
+cls.tc.target.run('rm -fr /tmp/myvtpm2')
+
 def check_endlines(self, results,  expected_endlines): 
 for line in results.splitlines():
 for el in expected_endlines:
@@ -19,20 +27,19 @@ class Tpm2Test(OERuntimeTestCase):
 @OEHasPackage(['tpm2-tools'])
 @OEHasPackage(['tpm2-abrmd'])
 @OEHasPackage(['swtpm'])
+@skipIfNotFeature('tpm2','Test tpm2_startup requires tpm2 to be in 
DISTRO_FEATURES')
 @OETestDepends(['ssh.SSHTest.test_ssh'])
-def test_tpm2_swtpm_socket(self):
+def test_tpm2_startup(self):
 cmds = [
-'mkdir /tmp/myvtpm',
-'swtpm socket --tpmstate dir=/tmp/myvtpm --tpm2 --ctrl 
type=tcp,port=2322 --server type=tcp,port=2321 --flags not-need-init &',
-'export TPM2TOOLS_TCTI="swtpm:port=2321"',
-'tpm2_startup -c'
+'swtpm socket -d --tpmstate dir=/tmp/myvtpm2 --tpm2 --ctrl 
type=tcp,port=2322 --server type=tcp,port=2321 --flags not-need-init',
+'tpm2_startup -c -T "swtpm:port=2321"',
]
 
 for cmd in cmds:
 status, output = self.target.run(cmd)
 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
 
-@OETestDepends(['tpm2.Tpm2Test.test_tpm2_swtpm_socket'])
+@OETestDepends(['tpm2.Tpm2Test.test_tpm2_startup'])
 def test_tpm2_pcrread(self):
  (status, output) = self.target.run('tpm2_pcrread')
  expected_endlines = []
@@ -49,7 +56,7 @@ class Tpm2Test(OERuntimeTestCase):
 
 @OEHasPackage(['p11-kit'])
 @OEHasPackage(['tpm2-pkcs11'])
-@OETestDepends(['tpm2.Tpm2Test.test_tpm2_swtpm_socket'])
+@OETestDepends(['tpm2.Tpm2Test.test_tpm2_pcrread'])
 def test_tpm2_pkcs11(self):
  (status, output) = self.target.run('p11-kit list-modules -v')
  self.assertEqual(status, 0, msg="Modules missing: %s" % output)
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57223): https://lists.yoctoproject.org/g/yocto/message/57223
Mute This Topic: https://lists.yoctoproject.org/mt/91432373/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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
new file mode 100644
index 000..df47b35
--- /dev/null
+++ b/meta-tpm/lib/oeqa/runtime/cases/swtpm.py
@@ -0,0 +1,24 @@
+# Copyright (C) 2022 Armin Kuster 
+#
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+from oeqa.core.decorator.data import skipIfNotFeature
+
+class SwTpmTest(OERuntimeTestCase):
+@classmethod
+def setUpClass(cls):
+cls.tc.target.run('mkdir /tmp/myvtpm2')
+cls.tc.target.run('chown tss:root /tmp/myvtpm2')
+
+@classmethod
+def tearDownClass(cls):
+cls.tc.target.run('rm -fr /tmp/myvtpm2')
+
+@skipIfNotFeature('tpm2','Test tpm2_swtpm_socket requires tpm2 to be in 
DISTRO_FEATURES')
+@OETestDepends(['ssh.SSHTest.test_ssh'])
+@OEHasPackage(['swtpm'])
+def test_swtpm2_ek_cert(self):
+cmd = 'swtpm_setup --tpmstate /tmp/myvtpm2 --create-ek-cert 
--create-platform-cert --tpm2',
+status, output = self.target.run(cmd)
+self.assertEqual(status, 0, msg="swtpm create-ek-cert failed: %s" 
% output)
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57222): https://lists.yoctoproject.org/g/yocto/message/57222
Mute This Topic: https://lists.yoctoproject.org/mt/91432372/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb
+++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb
@@ -20,7 +20,7 @@ inherit autotools pkgconfig perlnative
 TSS_USER="tss"
 TSS_GROUP="tss"
 
-PACKAGECONFIG ?= "openssl"
+PACKAGECONFIG ?= "openssl gnutls"
 PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 
'selinux', '', d)}"
 PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 
'seccomp', '', d)}"
 PACKAGECONFIG += "${@bb.utils.contains('BBFILE_COLLECTIONS', 
'filesystems-layer', 'cuse', '', d)}"
@@ -28,7 +28,7 @@ PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, 
openssl"
 # expect, bash, tpm2-pkcs11-tools (tpm2_ptool), tpmtool and certtool is
 # used by swtpm-create-tpmca (the last two is provided by gnutls)
 # gnutls is required by: swtpm-create-tpmca, swtpm-localca and swtpm_cert
-PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, 
expect bash tpm2-pkcs11-tools"
+PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls-native 
gnutls, gnutls-bin expect bash tpm2-pkcs11-tools"
 PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
 PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse"
 PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57221): https://lists.yoctoproject.org/g/yocto/message/57221
Mute This Topic: https://lists.yoctoproject.org/mt/91432371/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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-core/images/security-tpm2-image.bb
+++ b/meta-tpm/recipes-core/images/security-tpm2-image.bb
@@ -7,6 +7,7 @@ IMAGE_INSTALL = "\
 packagegroup-core-boot \
 packagegroup-security-tpm2 \
 os-release \
+swtpm \
 "
 
 IMAGE_LINGUAS ?= " "
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57220): https://lists.yoctoproject.org/g/yocto/message/57220
Mute This Topic: https://lists.yoctoproject.org/mt/91432370/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb
@@ -22,6 +22,7 @@ TSS_GROUP="tss"
 
 PACKAGECONFIG ?= "openssl"
 PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 
'selinux', '', d)}"
+PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 
'seccomp', '', d)}"
 PACKAGECONFIG += "${@bb.utils.contains('BBFILE_COLLECTIONS', 
'filesystems-layer', 'cuse', '', d)}"
 PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
 # expect, bash, tpm2-pkcs11-tools (tpm2_ptool), tpmtool and certtool is
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57219): https://lists.yoctoproject.org/g/yocto/message/57219
Mute This Topic: https://lists.yoctoproject.org/mt/91432363/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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/Reply Online (#57218): https://lists.yoctoproject.org/g/yocto/message/57218
Mute This Topic: https://lists.yoctoproject.org/mt/82398575/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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?

CAUTION: This email originated from outside the organization. Do not click on 
links or open attachments unless you recognize the sender and know the content 
is safe.

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 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 2022 13:59
> Para: Cardenas Jose Antonio (JCARDENA) 
> CC: yocto@lists.yoctoproject.org
> Asunto: Re: [yocto] How to modify an existing file from an optional recipe?
>
> CAUTION: This email originated from outside the organization. Do not click on 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
> 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?
> >
> > Regards.
> >
> > -Mensaje original-
> > De: Alexander Kanavin  Enviado el: lunes, 30 
> > de mayo de 2022 13:29
> > Para: Cardenas Jose Antonio (JCARDENA) 
> > 
> > CC: yocto@lists.yoctoproject.org
> > Asunto: Re: [yocto] How to modify an existing file from an optional recipe?
> >
> > CAUTION: This email originated from outside the organization. Do not click 
> > on links or open attachments unless you recognize the sender and know the 
> > content is safe.
> >
> > 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,
> > >
> > >
> > >
> > > 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 attempted installs of 
> > > my_recipe-1.0-r0.7.armv7ahf_neon and 
> > > initial_script-1.0-r155.1.armv7ahf_neon
> > >
> > >
> > >
> > > I have seen that the best practice to modify an existing file is to 
> > > create a .bbappend but this modification would be done for all builds, 
> > > not only for the SDK. So what would be the best way to do this?
> > >
> > >
> > >
> > > Regards.
> > >
> > > Jose
> > >
> > >
> > > 
> > >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57217): https://lists.yoctoproject.org/g/yocto/message/57217
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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 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 2022 13:59
> Para: Cardenas Jose Antonio (JCARDENA) 
> CC: yocto@lists.yoctoproject.org
> Asunto: Re: [yocto] How to modify an existing file from an optional recipe?
>
> CAUTION: This email originated from outside the organization. Do not click on 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
> 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?
> >
> > Regards.
> >
> > -Mensaje original-
> > De: Alexander Kanavin  Enviado el: lunes, 30
> > de mayo de 2022 13:29
> > Para: Cardenas Jose Antonio (JCARDENA) 
> > CC: yocto@lists.yoctoproject.org
> > Asunto: Re: [yocto] How to modify an existing file from an optional recipe?
> >
> > CAUTION: This email originated from outside the organization. Do not click 
> > on links or open attachments unless you recognize the sender and know the 
> > content is safe.
> >
> > 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,
> > >
> > >
> > >
> > > 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 attempted installs of
> > > my_recipe-1.0-r0.7.armv7ahf_neon and
> > > initial_script-1.0-r155.1.armv7ahf_neon
> > >
> > >
> > >
> > > I have seen that the best practice to modify an existing file is to 
> > > create a .bbappend but this modification would be done for all builds, 
> > > not only for the SDK. So what would be the best way to do this?
> > >
> > >
> > >
> > > Regards.
> > >
> > > Jose
> > >
> > >
> > > 
> > >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57216): https://lists.yoctoproject.org/g/yocto/message/57216
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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 2022 13:59
Para: Cardenas Jose Antonio (JCARDENA) 
CC: yocto@lists.yoctoproject.org
Asunto: Re: [yocto] How to modify an existing file from an optional recipe?

CAUTION: This email originated from outside the organization. Do not click on 
links or open attachments unless you recognize the sender and know the content 
is safe.

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?
>
> Regards.
>
> -Mensaje original-
> De: Alexander Kanavin  Enviado el: lunes, 30 
> de mayo de 2022 13:29
> Para: Cardenas Jose Antonio (JCARDENA) 
> CC: yocto@lists.yoctoproject.org
> Asunto: Re: [yocto] How to modify an existing file from an optional recipe?
>
> CAUTION: This email originated from outside the organization. Do not click on 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
> 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,
> >
> >
> >
> > 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 attempted installs of 
> > my_recipe-1.0-r0.7.armv7ahf_neon and 
> > initial_script-1.0-r155.1.armv7ahf_neon
> >
> >
> >
> > I have seen that the best practice to modify an existing file is to create 
> > a .bbappend but this modification would be done for all builds, not only 
> > for the SDK. So what would be the best way to do this?
> >
> >
> >
> > Regards.
> >
> > Jose
> >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57215): https://lists.yoctoproject.org/g/yocto/message/57215
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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?
>
> Regards.
>
> -Mensaje original-
> De: Alexander Kanavin 
> Enviado el: lunes, 30 de mayo de 2022 13:29
> Para: Cardenas Jose Antonio (JCARDENA) 
> CC: yocto@lists.yoctoproject.org
> Asunto: Re: [yocto] How to modify an existing file from an optional recipe?
>
> CAUTION: This email originated from outside the organization. Do not click on 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
>
> 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,
> >
> >
> >
> > 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 attempted installs of
> > my_recipe-1.0-r0.7.armv7ahf_neon and
> > initial_script-1.0-r155.1.armv7ahf_neon
> >
> >
> >
> > I have seen that the best practice to modify an existing file is to create 
> > a .bbappend but this modification would be done for all builds, not only 
> > for the SDK. So what would be the best way to do this?
> >
> >
> >
> > Regards.
> >
> > Jose
> >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57214): https://lists.yoctoproject.org/g/yocto/message/57214
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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: yocto@lists.yoctoproject.org
Asunto: Re: [yocto] How to modify an existing file from an optional recipe?

CAUTION: This email originated from outside the organization. Do not click on 
links or open attachments unless you recognize the sender and know the content 
is safe.

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,
>
>
>
> 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 attempted installs of 
> my_recipe-1.0-r0.7.armv7ahf_neon and 
> initial_script-1.0-r155.1.armv7ahf_neon
>
>
>
> I have seen that the best practice to modify an existing file is to create a 
> .bbappend but this modification would be done for all builds, not only for 
> the SDK. So what would be the best way to do this?
>
>
>
> Regards.
>
> Jose
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57213): https://lists.yoctoproject.org/g/yocto/message/57213
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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,
>
>
>
> 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 attempted installs of 
> my_recipe-1.0-r0.7.armv7ahf_neon and initial_script-1.0-r155.1.armv7ahf_neon
>
>
>
> I have seen that the best practice to modify an existing file is to create a 
> .bbappend but this modification would be done for all builds, not only for 
> the SDK. So what would be the best way to do this?
>
>
>
> Regards.
>
> Jose
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57212): https://lists.yoctoproject.org/g/yocto/message/57212
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[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 attempted installs of 
my_recipe-1.0-r0.7.armv7ahf_neon and initial_script-1.0-r155.1.armv7ahf_neon

I have seen that the best practice to modify an existing file is to create a 
.bbappend but this modification would be done for all builds, not only for the 
SDK. So what would be the best way to do this?

Regards.
Jose

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57211): https://lists.yoctoproject.org/g/yocto/message/57211
Mute This Topic: https://lists.yoctoproject.org/mt/91428591/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



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.yoctoproject.org/g/yocto/message/57210
Mute This Topic: https://lists.yoctoproject.org/mt/82398575/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-