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(-)
diff
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
aviour 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 & Principal Engineer
Beta Five Ltd
-
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/recipes-containers
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/netns
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 ++
1 file
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 <pbar...@toganlabs.com> 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
The upstream Makefile now calls `$(GO)` instead of just `go` so this patch isn't
needed anymore.
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
.../0001-Use-correct-go-cross-compiler.patch | 85 --
recipes-containers/runc/runc-opencontainers_git.bb |
Signed-off-by: Paul Barker <p...@toganlabs.com>
---
.../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/
The go bbclass already inherits goarch.
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
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/r
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
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(-)
This variable isn't picked up by the runc Makefile anyway as it isn't exported.
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
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-cont
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
recipes-containers
The "vendor/src" symlink is already created in do_compile in runc.inc.
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
recipes-containers/runc/runc-opencontainers_git.bb | 7 ---
1 file changed, 7 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_g
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 <pbar...@toganlabs.com>
---
.../files/0001-Use-correct-go-cross-compiler.patch | 77 ++
recipes-networking/netns/netns_
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 <pbar...@toganlabs.com>
---
recipes-containers/runc/runc-docker_git
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 <pbar...@toganlabs.
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 <pbar...@toganlabs.com>
---
..
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 <pbar...@toganlabs.com>
---
classes/sanity-meta-virt.bbclass | 2 +-
conf/laye
On Thu, Oct 5, 2017 at 8:48 PM, Bruce Ashfield <bruce.ashfi...@gmail.com> wrote:
> On Thu, Oct 5, 2017 at 12:15 PM, Paul Barker <pbar...@toganlabs.com> wrote:
>>
>> I'm getting this new warning up to 4 times on each bitbake invocation:
>> twice before the &
On Tue, Oct 10, 2017 at 12:30 AM, Paul Barker <pbar...@toganlabs.com> wrote:
> On Tue, Oct 10, 2017 at 12:02 AM, Bruce Ashfield
> <bruce.ashfi...@gmail.com> wrote:
>> On Mon, Oct 9, 2017 at 5:56 PM, Paul Barker <pbar...@toganlabs.com> wrote:
>>>
>&g
On Tue, Oct 10, 2017 at 12:02 AM, Bruce Ashfield
<bruce.ashfi...@gmail.com> wrote:
> On Mon, Oct 9, 2017 at 5:56 PM, Paul Barker <pbar...@toganlabs.com> wrote:
>> On Mon, Oct 9, 2017 at 8:54 PM, Aníbal Limón <limon.ani...@gmail.com> wrote:
>>> From: A
cross compiler
> rm -f ${S}/src/import/vendor/src
It seems like 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
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 <pbar...@toganlabs.
This patch hasn't been used in a long time.
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
.../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-agains
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 <pbar...@toganlabs.com>
---
.../0001-Use-correct-go-cross-compiler.patch | 85 ++
r
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
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
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
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
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 v1.0.0
From: Paul Barker <p...@paulbarker.me.uk>
Signed-off-by: Paul Barker <p...@paulbarker.me.uk>
---
recipes-containers/runc/runc-opencontainers_git.bb | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_git.b
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 <pbar...@toganlabs.com>
---
recipes-networking/netns/netns_git.bb | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff
From: Paul Barker <p...@paulbarker.me.uk>
Signed-off-by: Paul Barker <p...@paulbarker.me.uk>
---
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-con
This recipe just installs a pair of shell scripts.
Signed-off-by: Paul Barker <pbar...@toganlabs.com>
---
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/cgrou
-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/meta
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 <p...@paulbarker.me.uk>
---
recipes-networking/netns/netns_git.b
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 <p...@paulbarker.me.uk>
---
recipes-containers/runc/
Signed-off-by: Paul Barker <p...@paulbarker.me.uk>
---
.../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-nsex
41 matches
Mail list logo