Re: [yocto] Pre-compiling Python Byte Code

2017-05-05 Thread Jussi Kukkonen
On 3 May 2017 at 21:50, Chris Trobridge wrote: > To improve startup speed I have decided to pre-compile python3 byte code in my bb recipe. This is done semi automatically with the rpm build for Fedora but I've not found anything similar for Yocto. > > I initially tried to use compileall: > > pyth

Re: [yocto] Pre-compiling Python Byte Code

2017-05-05 Thread Burton, Ross
On 3 May 2017 at 19:50, Chris Trobridge wrote: > The following works, as it uses the native python3 compiled by bitbake but > it feels a little contrived. Is there a better way of specifying the > native python3 interpreter, or a better way of getting my python byte code > compiled prior to gene

[yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Dominig Ar Foll
Hello, I am trying to enable tpm on an Intel target using yocto (morty) from meta-security When I activate the tpm-tools-2.0 feature in my configuration, I have a compilation error (see log bellow) Search for line: | /usr/src/debug/glibc/2.24-r0/git/csu/../sysdeps/x86_64/start.S:104: undefined re

Re: [yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Patrick Ohly
On Fri, 2017-05-05 at 12:12 +0200, Dominig Ar Foll wrote: > Hello, > > I am trying to enable tpm on an Intel target using yocto (morty) from > meta-security > > When I activate the tpm-tools-2.0 feature in my configuration, I have > a compilation error (see log bellow) > Search for line: > | /usr

Re: [yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Khem Raj
On Fri, May 5, 2017 at 6:12 AM, Dominig Ar Foll wrote: > Hello, > > I am trying to enable tpm on an Intel target using yocto (morty) from > meta-security > > When I activate the tpm-tools-2.0 feature in my configuration, I have > a compilation error (see log bellow) > Search for line: > | /usr/src

Re: [yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Patrick Ohly
On Fri, 2017-05-05 at 08:45 -0400, Khem Raj wrote: > Set > > SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" But that's just a workaround, right? Ideally the build rules of tpm2.0-tools should be fixed to not need that. -- Best Regards, Patrick Ohly The content of this message is my personal opi

Re: [yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Khem Raj
On Fri, May 5, 2017 at 9:13 AM, Patrick Ohly wrote: > On Fri, 2017-05-05 at 08:45 -0400, Khem Raj wrote: >> Set >> >> SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" > > But that's just a workaround, right? Ideally the build rules of > tpm2.0-tools should be fixed to not need that. > yes it can be

[yocto] Creating a new recipe

2017-05-05 Thread Giuseppe Di Guglielmo
Hi all, I am trying to create a new recipe for Bazel (from Google): https://bazel.build/versions/master/docs/install-compile-source.html The standard compilation flow is relatively simple: "Unzip the archive and call bash ./compile.sh; this will create a bazel binary in output/bazel. This binary i

Re: [yocto] Creating a new recipe

2017-05-05 Thread Andrea Galbusera
On Fri, May 5, 2017 at 4:40 PM, Giuseppe Di Guglielmo < giuseppe.diguglie...@gmail.com> wrote: > Hi all, > I am trying to create a new recipe for Bazel (from Google): > https://bazel.build/versions/master/docs/install-compile-source.html > > The standard compilation flow is relatively simple: "Unz

Re: [yocto] Creating a new recipe

2017-05-05 Thread Giuseppe Di Guglielmo
I made some further steps. I attach the layer package that I am creating. You can add it to conf/bblayers.conf. The error that I the following. Let me know what you thing of it. Thank you, Giuseppe $ bitbake bazel Parsing recipes: 100% |##