Re: [meta-virtualization] [PATCH] Revert "runc: Don't override GOARCH or GOROOT"

2017-10-12 Thread Paul Barker
On Tue, Oct 10, 2017 at 12:30 AM, Paul Barker wrote: > On Tue, Oct 10, 2017 at 12:02 AM, Bruce Ashfield > wrote: >> On Mon, Oct 9, 2017 at 5:56 PM, Paul Barker wrote: >>> >>> It seems like we have conflicting changes :(

Re: [meta-virtualization] [PATCH] Revert "runc: Don't override GOARCH or GOROOT"

2017-10-12 Thread Anibal Limón
On Thu, Oct 12, 2017 at 6:58 AM, Paul Barker wrote: > On Tue, Oct 10, 2017 at 12:30 AM, Paul Barker > wrote: > > On Tue, Oct 10, 2017 at 12:02 AM, Bruce Ashfield > > wrote: > >> On Mon, Oct 9, 2017 at 5:56 PM, Paul Barker

Re: [meta-virtualization] [PATCH V4 1/3] sanity-meta-virt.bbclass: add class for bbappend files checking

2017-10-12 Thread Paul Barker
On Thu, Oct 5, 2017 at 8:48 PM, Bruce Ashfield wrote: > On Thu, Oct 5, 2017 at 12:15 PM, Paul Barker wrote: >> >> I'm getting this new warning up to 4 times on each bitbake invocation: >> twice before the "Parsing recipes" line, once after the

[meta-virtualization] [PATCH 1/4] sanity-meta-virt: Make skip variable name layer specific

2017-10-12 Thread Paul Barker
The variable used to skip the sanity check should be named in a layer specific way. This will ensure there is no confusion if other layers use a similar sanity check. Signed-off-by: Paul Barker --- classes/sanity-meta-virt.bbclass | 2 +- conf/layer.conf

[meta-virtualization] [PATCH 3/4] runc-docker: Disable building recvtty

2017-10-12 Thread Paul Barker
The recvtty demo/reference application has cross compilation issues when targeting aarch64 platforms. As it is just a demo application and is not usually used, we can just patch the Makefile to disable building this application. Signed-off-by: Paul Barker ---

[meta-virtualization] [PATCH 2/4] sanity-meta-virt: Watch for SanityCheck event

2017-10-12 Thread Paul Barker
The ConfigParsed event is raised multiple times during a build which resulted in the sanity warning appearing up to 4 times per build. Instead we should be watching for the SanityCheck event (this is what the sanity checks in oe-core watch for). Signed-off-by: Paul Barker

[meta-virtualization] [PATCH 0/4] sanity-meta-virt and runc improvements

2017-10-12 Thread Paul Barker
The sanity-meta-virt bbclass is fixed to use a layer-specific name for the skip variable and to only print the warning once if triggered. This has been tested both with and without the skip variable set to "1" in my distro conf and works as expected in both cases. The runc recipes are simplified.

[meta-virtualization] [PATCH 4/4] runc: Simplify recipes

2017-10-12 Thread Paul Barker
* All common settings are merged into the runc.inc file. * SRC_URI and SRCREV settings are normalised, dropping unnecessary arguments. * Variables in runc.inc are re-ordered slightly to make things clearer. * Drop unused EXTRA_FLAGS variable in runc-docker which isn't picked up by the runc

Re: [meta-virtualization] [PATCH 4/4] runc: Simplify recipes

2017-10-12 Thread Bruce Ashfield
On Thu, Oct 12, 2017 at 12:49 PM, Paul Barker wrote: > * All common settings are merged into the runc.inc file. > > * SRC_URI and SRCREV settings are normalised, dropping unnecessary arguments. I'm going to keep the named SRCREVs, since we very often have multiple

Re: [meta-virtualization] [PATCH 3/4] runc-docker: Disable building recvtty

2017-10-12 Thread Anibal Limón
On Thu, Oct 12, 2017 at 11:49 AM, Paul Barker wrote: > The recvtty demo/reference application has cross compilation issues when > targeting aarch64 platforms. As it is just a demo application and is not > usually > used, we can just patch the Makefile to disable building

Re: [meta-virtualization] [PATCH 4/4] runc: Simplify recipes

2017-10-12 Thread Bruce Ashfield
On Thu, Oct 12, 2017 at 2:13 PM, Paul Barker wrote: > On 12 Oct 2017 6:02 p.m., "Bruce Ashfield" wrote: > > On Thu, Oct 12, 2017 at 12:49 PM, Paul Barker wrote: >> * All common settings are merged into the runc.inc file. >>