The recipe for cri-o already has an anonymous Python function in place
to skip the recipe if dependencies are not found so there's no need to
force inclusion of the meta-selinux layer.
Signed-off-by: Paul Barker
---
conf/layer.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The build has broken again on master, even for non-static builds of
netns. The simplest fix is to extend our existing patch to cover this
case as well.
Signed-off-by: Paul Barker
---
...ce-rebuilding-all-packages-to-avoid-cgo.patch | 16 +++-
1 file changed, 11 insertions(+), 5
Rather than breaking this behaviour I'd like to see if we can support
this in oe-core.
Cc-ing Jonas and Alex on this one - is it simple to support
`SYSTEMD_AUTO_ENABLE = "mask"` after the recent systemd changes in oe-core?
Thanks,
--
Paul Barker
Managing Director &
If we're building runc-opencontainers it's likely that we're not using
docker.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-docker_git.bb | 2 ++
recipes-containers/runc/runc.inc | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/rec
This change reduces the length of ${PV} for several recipes and gives us
auto-incrementing version numbers.
Signed-off-by: Paul Barker
---
recipes-containers/containerd/containerd.inc | 2 +-
recipes-devtools/go/go-cli_git.bb | 2 +-
recipes-devtools/go/go-dbus_git.bb
If we don't explicitly set the GO variable as an argument to make then
the native go toolchain is invoked instead of the cross-toolchain we
actually want. This can result in a netns binary which is built for the
wrong architecture.
Signed-off-by: Paul Barker
---
recipes-networking/
This patch belongs on both master and thud and should apply to both without
needing modification.
I'll follow up with a netns update on master once I've got some outstanding
issues resolved.
Paul Barker (1):
netns: Use correct go toolchain
recipes-networking/netns/netns_git.bb | 2
Hey,
Looks like sumo is now out :)
Could we get a sumo branch in meta-virtualization please?
Cheers and many thanks to everyone who has contributed,
--
Paul Barker
Togán Labs Ltd
--
___
meta-virtualization mailing list
meta-virtualization
On Tue, May 8, 2018 at 9:14 PM, Paul Barker wrote:
> The netns project has been moved into the 'genuinetools' organisation and so
> URLs have been updated. The copyright line in the license file has been
> updated
> to reference "The Genuinetools Authors".
>
&
The upstream Makefile now calls `$(GO)` instead of just `go` so this patch isn't
needed anymore.
Signed-off-by: Paul Barker
---
.../0001-Use-correct-go-cross-compiler.patch | 85 --
recipes-containers/runc/runc-opencontainers_git.bb | 1 -
2 files change
ream.
Signed-off-by: Paul Barker
---
.../0001-Allow-selection-of-go-compiler.patch | 107 +
recipes-networking/netns/netns_git.bb | 16 +--
2 files changed, 115 insertions(+), 8 deletions(-)
create mode 100644
recipes-networking/netns/files/0001-A
The go bbclass already inherits goarch.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc.inc | 2 --
1 file changed, 2 deletions(-)
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index b1f2ba8..c1ff08f 100644
--- a/recipes-containers/runc/runc.inc
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-docker_git.bb | 4
recipes-containers/runc/runc-opencontainers_git.bb | 4
recipes-containers/runc/runc.inc | 4
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/recipes-containers
This variable isn't picked up by the runc Makefile anyway as it isn't exported.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-docker_git.bb | 2 --
1 file changed, 2 deletions(-)
diff --git a/recipes-containers/runc/runc-docker_git.bb
b/recipes-containers/runc/runc-doc
ta as the last patch incase that still
isn't wanted.
Paul Barker (5):
netns: Use correct go cross-compiler
runc-opencontainers: Drop unnecessary do_compile_prepend
runc-docker: Drop unused EXTRA_FLAGS
runc: Drop inherit goarch
runc: Merge common metadata into inc file
rec
The "vendor/src" symlink is already created in do_compile in runc.inc.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-opencontainers_git.bb | 7 ---
1 file changed, 7 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb
b/recipes-containers
The makefile for netns needs to be patched to ensure that we use the binaries
from go-cross and not go-native.
Signed-off-by: Paul Barker
---
.../files/0001-Use-correct-go-cross-compiler.patch | 77 ++
recipes-networking/netns/netns_git.bb | 4 +-
2 files
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.
>
> * SRC_URI and SRCREV settings are normalised, dropping unnecessary
arguments.
I'm going to keep the name
runc Makefile anyway as it isn't exported.
* Drop unnecessary do_compile_prepend in runc-opencontainers as the "vendor/src"
symlink is already created in do_compile in runc.inc.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-docker_git.bb | 10 ++
rec
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
---
classes/sanity
simplified. runc-docker is fixed for aarch64 platforms by
disabling compilation of the recvtty demo/reference application.
Paul Barker (4):
sanity-meta-virt: Make skip variable name layer specific
sanity-meta-virt: Watch for SanityCheck event
runc-docker: Disable building recvtty
runc
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
---
.../0001-Disable-building
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 | 2 +-
2 files changed
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 "Executing
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 :( Reverting this patch will
>&
On Tue, Oct 10, 2017 at 12:02 AM, Bruce Ashfield
wrote:
> On Mon, Oct 9, 2017 at 5:56 PM, Paul Barker wrote:
>> On Mon, Oct 9, 2017 at 8:54 PM, Aníbal Limón wrote:
>>> From: Aníbal Limón
>>>
>>> This reverts commit fdee07aadc1b5224a540c7e8893144207e1979cb.
&
e we have conflicting changes :( Reverting this patch will
break cross-compilation of runc-opencontainers for x86-64 with musl
libc again.
I'll try cross-compiling both runc variants for arm, aarch64, x86 and
x86-64 and see if I can find a solution that works for everything.
--
Paul Barker
Togán Labs Ltd
--
___
meta-virtualization mailing list
meta-virtualization@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-virtualization
uot;Executing
RunQueue Tasks" line.
It's also totally irrelevant for users of a distro like ours (Oryx
Linux) which includes meta-virtualization for runc, docker or other
related tools but doesn't use kvm or xen.
I guess I can set SKIP_SANITY_BBAPPEND_CHECK in our distro config but
this sounds like a universal skip for all sanity bbappend checks - is
this intended? Or does this variable just apply to the check in this
layer? If it's specific to this layer I think it needs a better name.
Thanks,
--
Paul Barker
Togán Labs Ltd
--
___
meta-virtualization mailing list
meta-virtualization@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signed-off-by: Paul Barker
---
recipes-networking/netns/netns_git.bb | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/recipes-networking/netns/netns_git.bb
b/recipes-networking/netns/netns_git.bb
index 8e771f5..4437764 100644
--- a/recipes-networking/netns
These variables are now set correctly by go.bbclass in oe-core. Changing them to
point at the native sysroot just leads to build errors in some cases, for
example when the target and host have matching GOARCH but not matching c
libraries.
Signed-off-by: Paul Barker
---
recipes-containers/runc
* Update netns to the latest release.
* Fix runc compilation problems when targeting qemux86-64. Both runc-docker and
runc-opencontainers have been build tested with these changes.
* Drop an old patch which is no longer used.
Paul Barker (4):
netns: Update to v0.2.1
runc: Drop obsolete
This patch hasn't been used in a long time.
Signed-off-by: Paul Barker
---
.../0001-nsexec-fix-build-against-musl-libc.patch | 48 --
1 file changed, 48 deletions(-)
delete mode 100644
recipes-containers/runc/runc/0001-nsexec-fix-build-against-musl-libc.patch
diff
The makefiles for both providers of runc need to be patched in similar ways to
ensure that we use the binaries from go-cross and not go-native.
Signed-off-by: Paul Barker
---
.../0001-Use-correct-go-cross-compiler.patch | 85 ++
recipes-containers/runc/runc
These changes fix the build for runc-opencontainers and upgrade to the latest
version (v1.0.0-rc4).
Paul Barker (2):
runc-opencontainers: Update to v1.0.0-rc4
runc-opencontainers: go.bbclass compile fixes
recipes-containers/runc/runc-opencontainers_git.bb | 11 ++-
1 file changed, 6
These fixes are needed due to updates to go.bbclass in oe-core. See commit
01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-opencontainers_git.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-opencontainers_git.bb | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb
b/recipes-containers/runc/runc-opencontainers_git.bb
index 4a6e8cd..940ae95 100644
On Mon, 3 Apr 2017 07:11:37 -0400
Bruce Ashfield wrote:
> unnecessary, but I prefer it. since we are not always on master for
> this recipe.
>
> I'll test the rest of the series, but I'll pass on this patch.
>
> Bruce
>
No problem, it's an aesthetic thing.
I'm not sure why git has mixed up t
I've finally got back to playing around with runc and associated tools :)
These patches have been tested on a raspberrypi3 and allow successful creation
of a guest container using runc, netns and cgroup-lite.
Paul Barker (4):
netns: Update to latest HEAD
runc-opencontainers: Update to v
From: Paul Barker
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-opencontainers_git.bb | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb
b/recipes-containers/runc/runc-opencontainers_git.bb
index
There have been a couple of fixes and new features upstream, let's bring
them in. The upstream URL has also changed slightly.
Signed-off-by: Paul Barker
---
recipes-networking/netns/netns_git.bb | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes-networking/
From: Paul Barker
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc-opencontainers_git.bb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb
b/recipes-containers/runc/runc-opencontainers_git.bb
index 4a6e8cd
This recipe just installs a pair of shell scripts.
Signed-off-by: Paul Barker
---
recipes-containers/cgroup-lite/cgroup-lite_1.11.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipes-containers/cgroup-lite/cgroup-lite_1.11.bb
b/recipes-containers/cgroup-lite/cgroup-lite_1.11.bb
index
getVar() now defaults to expanding by default.
Signed-off-by: Paul Barker
---
classes/go-osarchmap.bbclass| 18 +-
recipes-devtools/go-cross/go-cross.inc | 2 +-
recipes-extended/libvirt/libvirt-python.inc | 2 +-
recipes-extended/xen/xen-arch.inc
Building any recipe for a mips-based machine like arduino-yun currently leads
to errors in go_map_arch(). Instead, errors should only be raised if a recipe
which uses golang is built. This is achieved using the same error handling seen
in recipes-extended/xen.
Signed-off-by: Paul Barker
meta-virtualization without using that layer.
Is this still a valid dependency or does the README need an update?
Thanks,
Paul Barker
--
___
meta-virtualization mailing list
meta-virtualization@yoctoproject.org
https://lists.yoctoproject.org/listinfo
netns is a runc hook for setting up simple bridge networking within containers.
See README.md (or https://github.com/jfrazelle/netns/blob/master/README.md) for
instructions on how to use netns.
Signed-off-by: Paul Barker
---
recipes-networking/netns/netns_git.bb | 44
When building for qemux86 the following error was encountered due to GOARCH
being set incorrectly:
compile: unknown architecture "i586"
This can be fixed by using the go-osarchmap class.
Signed-off-by: Paul Barker
---
recipes-containers/runc/runc_git.bb | 11 +++
1 file
Signed-off-by: Paul Barker
---
.../0001-nsexec-fix-build-against-musl-libc.patch | 48 ++
recipes-containers/runc/runc_git.bb| 1 +
2 files changed, 49 insertions(+)
create mode 100644
recipes-containers/runc/runc/0001-nsexec-fix-build-against-musl
48 matches
Mail list logo