Re: [yocto] [PATCH 1/2] ref-manual: Document the fifth argument to PACKAGECONFIG

2018-12-13 Thread Scott Rifenbark
Peter, Thanks for the patch. See https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-PACKAGECONFIG for the changes. Commit: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=adb17e3172c829de77d2664c91f7cf4b22c9e5f0 Scott On Thu, Dec 13, 2018 at 3:24 AM Peter

Re: [yocto] [PATCH 2/2] ref-manual: Add missing whitespace around "=" in a few code examples

2018-12-13 Thread Scott Rifenbark
Peter, Thank you for the patch in the ref-manual. I applied the patch ( https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=0d22771c64d082bf86f5efd85ac9aaeb1c7f3093 ) You can see the changes in the upcoming version of the ref-manual. I will back port as needed too.

Re: [yocto] Best practices for tokens/passwords that can't be versioned

2018-12-13 Thread Alan Martinovic
Thanks for the feedback. This is a very interesting use case. By default you want to allow ssh access for the developer who built the image, cool :) On Thu, Dec 13, 2018 at 2:59 PM Enrico Scholz wrote: > > Alan Martinovic writes: > > > am looking for opinions on how to deal with recipes that

Re: [yocto] Best practices for tokens/passwords that can't be versioned

2018-12-13 Thread Enrico Scholz
Alan Martinovic writes: > am looking for opinions on how to deal with recipes that depend on file > content > that can't be versioned. For ssh public keys we use something like https://github.com/sigma-embedded/meta-de.sigma-chemnitz/blob/thud/classes/elito-image.bbclass#L36-L44 e.g. we

Re: [yocto] Best practices for tokens/passwords that can't be versioned

2018-12-13 Thread Alan Martinovic
Yes! :) That is what I ended up doing in the end, thanks. Be Well, Alan On Thu, Dec 13, 2018 at 1:45 PM Erik Botö wrote: > > On Tue, Dec 11, 2018 at 1:44 PM Alan Martinovic > wrote: > > > > Thanks Erik, > > guess that could work to and seems cleaner than the env variables. > > > > It still

Re: [yocto] Best practices for tokens/passwords that can't be versioned

2018-12-13 Thread Erik Botö
On Tue, Dec 11, 2018 at 1:44 PM Alan Martinovic wrote: > > Thanks Erik, > guess that could work to and seems cleaner than the env variables. > > It still leaves the question how to move that content into a static file. > For example if in the end the recipe should install a file with "super >

[yocto] [meta-selinux] Request for 'thud' branch

2018-12-13 Thread Enrico Scholz
Hello, I would like to provide some content[1] for meta-selinux[2], but all this is based/tested on 'thud' only. Would it be possible to create a 'thud' branch and update the corresponding LAYERSERIES_COMPAT_selinux? Thanks Enrico Footnotes: [1]

[yocto] [PATCH 1/2] ref-manual: Document the fifth argument to PACKAGECONFIG

2018-12-13 Thread Peter Kjellerstedt
Support for adding runtime recommendations (RRECOMMENDS) using PACKAGECONFIG was introduced in Rocko. Signed-off-by: Peter Kjellerstedt --- documentation/ref-manual/ref-variables.xml | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[yocto] [PATCH 2/2] ref-manual: Add missing whitespace around "=" in a few code examples

2018-12-13 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt --- documentation/ref-manual/ref-variables.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7dc3a3f79a..730737226e 100644 ---

Re: [yocto] Relase or debug by PACKAGECONFIG or MY_APP_VAR?

2018-12-13 Thread Burton, Ross
On Thu, 13 Dec 2018 at 08:20, Mauro Ziliani wrote: > To compile the app in release mode I need set > > EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=Release " > > > while in debug mode I need to set > > EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=Debug " > > > I defined 2 image recipes: one for production

[linux-yocto] [kernel-cache][PATCH] features/tpm: enable tpm support

2018-12-13 Thread Pradhan Surya Narayanx
Add tpm feature to intel-common-drivers.scc Signed-off-by: Pradhan Surya Narayanx --- bsp/intel-common/intel-common-drivers.scc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/intel-common/intel-common-drivers.scc b/bsp/intel-common/intel-common-drivers.scc index fa7168e..e094321

[yocto] Relase or debug by PACKAGECONFIG or MY_APP_VAR?

2018-12-13 Thread Mauro Ziliani
Hi all. I have an application made with cmake and qt5 by the recipe my-app.bb To compile the app in release mode I need set EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=Release " while in debug mode I need to set EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=Debug " I defined 2 image recipes: one for