Commit Graph

1299 Commits

Author SHA1 Message Date
Stefan Agner
7c42107c71 conmon: compile with journald support if systemd is enabled
Currently conman is compiled without journald support which leads to
this error message when trying to use it (e.g. --log-driver=journald
with podman):
  [conmon:e] Include journald in compilation path to log to systemd journal

Make sure to build with journald backend compiled-in when systemd is in
distro features by adding systemd to DEPENDS (through PACKAGECONFIG).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-29 10:38:31 -05:00
Bruce Ashfield
7f6f7a4fce conf: remove unneeded preferred versions
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 18:09:11 +00:00
Bruce Ashfield
d4b8bad25b xorg-xserver: make changes conditional on xen distro feature
The changes in this bbappend should only trigger when xen is in
the distro features.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 16:07:51 +00:00
Bruce Ashfield
56c3ce96a2 initscripts: make DISTRO_FEATURE safe
The initscripts bbappend should only activate when virtualization is
in distro features.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 16:05:31 +00:00
Bruce Ashfield
d10d310cbe python: make DISTRO_FEATURE safe
The python bbappend should have only been active when virtualization is
in DISTRO_FEATURES, so we change it to work like the rest of the
bbappends.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 16:01:49 +00:00
Bruce Ashfield
1d47e25958 libibverbs: import frmo meta-cloud-services
To allow ceph to build without meta-cloud-services in the bblayers, we
import libibverbs into meta-virtualization.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
8f6ebd264d python: update bbappend to python3.x
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
2c3206b1e7 xen: trivial: allow parsing in python3 only oe-core
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
407b822068 libvirt: make python3 safe
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
7e9c4e6a46 ceph: update and make python3 safe
Updating the ceph version and making python2 -> python3 subsitutions.
This has been build-only tested.

We can drop one patch, since it is already part of this newer version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
2ffc7a5a6f gunicorn: uprev and make python3 ready
Updating gunicorn so it can function in a python3 only environment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
a1e3f5c92c singularity: update for python3 support
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
67b237d9a9 criu: python3 update
Updating the version of criu and the install rules to be python3 safe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
52e67d4e63 python: update support packages to python3
Updating the python support packages to python3. Some packages are
dropped in favour of variants that are in meta-python, some are
updated and update to the new python3 name for others.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
cceef93ba8 python: drop blinker specific version and python2 recipe
We can use the python3 variant in meta-python, and we no longe need
the specific version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:48:39 +00:00
Bruce Ashfield
dc7ac8d8f6 python: drop python-backports-lzma
Now that we are python 3.3+ only, we no longer need this backport.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:45:51 +00:00
Bruce Ashfield
e57a346f7d devtools: drop python2 variant of python-sphinx
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:43:54 +00:00
Bruce Ashfield
c3d92d9942 docker: drop python2 variants
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:41:08 +00:00
Stefan Agner
91b8d9d9e4 docker-ce: update to v19.03.5
Bump the git hashes to Docker CE v19.03.5. This requires to get the
docker daemon binary from a different location as the symlink from
the latest/ subdirectory has been removed. See also commit deaac5d4b3fa
("hack/make.sh remove "latest" symlink") in the docker-ce repository.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-17 16:29:15 -05:00
Stefan Agner
f569d1bfd5 podman: bump to latest release 1.7.0
Bump to latest podman release 1.7.0. It features improvements to
networking, podman play kube, and systemd unit file integration.
They have also added the podman system reset command, to remove all
existing containers, pods, images, and volumes and reset the system
to its initial state.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-17 16:24:59 -05:00
Stefan Agner
179046584f conmon: bump to version 2.0.9
Bump to latest version 2.0.9. This also makes our Makefile fix obsolete
as the fix has been aplied upstream.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-17 16:24:59 -05:00
Bruce Ashfield
b4c43fd51f Revert "go: add back 1.12 version to avoid compilation failure"
This reverts commit 06dad20a32.
2020-01-09 17:21:12 +00:00
Bruce Ashfield
e54873b8b1 k8s: update to v1.17-beta
Updating to v1.17-beta, so we can drop the GO version 1.12 in
meta-virtualization.

We also drop one patch, since it is part of the upstream now.

Basic sanity tests shows no show-stopper issues.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-09 17:21:12 +00:00
Wang Mingyu
0df4b0ea71 python-pyyaml: Remove the recipe
Because they already exist in meta-openembedded, remove the recipe.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-08 16:21:42 -05:00
Wang Mingyu
da2fc210f8 python-sqlalchemy: Remove the recipe
Because they already exist in meta-openembedded, remove the recipe.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-08 16:21:42 -05:00
Chen Qi
0e01ab3f52 ceph: backport patch to fix compilation failure of boost 1.72
Backport a patch to fix compliation failure caused by boost upgrading
to 1.72.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-08 16:20:32 -05:00
Chen Qi
456fbc6dff docker: remove docker.service.rpm
This file is useless and misleading. Remove it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-08 16:19:53 -05:00
Kai Kang
30e3de60e7 nagios-nrpe: fix compile error when packageconfig ssl enabled
It fails to compile nagios-nrpe when packageconfig ssl enabled:

| ./nrpe.c:45:12: fatal error: ../include/dh.h: No such file or directory
|    45 | #  include "../include/dh.h"
|       |            ^~~~~~~~~~~~~~~~~
| compilation terminated.

Header file include/dh.h is created by native openssl called by
configure script. If no native openssl exists, no header file is
created. Add openssl-native to dependency for packageconfig ssl.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-29 22:09:03 -05:00
Tim Orling
5fb77ae4c4 podman: upgrade 1.6.1 -> 1.6.2
Lateest upstream is 1.6.4, but neither 1.6.3 nor 1.6.4
build cleanly.

Release notes:
https://github.com/containers/libpod/releases/tag/v1.6.2

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-18 10:47:43 -05:00
Chen Qi
47c1870b4d meta-virt-default-versions.inc: use go 1.12 version
kubernetes could not be built correctly with go 1.13.
Use 1.12 version in layer.conf.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2019-12-10 02:28:41 -05:00
Chen Qi
06dad20a32 go: add back 1.12 version to avoid compilation failure
go 1.12 was removed from oe-core, but currently k8s cannot
be built successfully with go 1.13. See link below.

  https://github.com/kubernetes/kubernetes/issues/82531

We need to wait for k8s to support go 1.13 and update it
to latest release, as well as its depedencies. Before this
is done, add back go 1.12 and use it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10 02:26:15 -05:00
Bruce Ashfield
c31e46fce7 conf: add k8s distro feature
Add support for a new distro feature to control kubernetes versions
and related configuration.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10 02:25:21 -05:00
Ming Liu
06ec74ad35 python3-nacl: add 1.3.0 recipe
A regression was introduced by commit ab12e48a:
[ python3-docker-compose: uprev to 1.25.0 ]

python3-docker-compose depends on python3-paramiko hence also depends
on python3-nacl but that recipe does not exist.

Port it from meta-lmp layer.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10 02:09:40 -05:00
Ming Liu
6dd323eb4a python3-paramiko: add 2.7.0 recipe
A regression was introduced by commit ab12e48a:
[ python3-docker-compose: uprev to 1.25.0 ]

python3-docker-compose depends on python3-paramiko but that recipe does
not exist.

Port it from meta-lmp layer and uprev to the latest release 2.7.0.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10 02:09:40 -05:00
Ming Liu
ab12e48ad0 python3-docker-compose: uprev to 1.25.0
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06 14:08:07 -05:00
Ming Liu
cf3ad09036 python-docker: uprev to 4.1.0
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06 14:08:07 -05:00
Ming Liu
3e53cdfeae python-docker-pycreds: uprev to 0.4.0
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06 14:08:07 -05:00
Bruce Ashfield
b4dfe90a5e conf: fix meta-virt version / config include
As was reported:

https://lists.yoctoproject.org/g/meta-virtualization/message/4173?p=,,,20,0,0,0::Created,,conf%2Flayer.conf+is+broken,20,2,0,61269733

The conditional include of the meta-virt versions and config was not
working properly due to parse time constraints.

This commit fixes that by following the example of the meta-cube layer
and instead using a user bbclass to load the .inc file after
distro/distro features have been resolved by bitbake.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06 13:51:57 -05:00
Norbert Kaminski
8860257250 docker.inc: Add xt-addrtype kernel module
Trying to use docker info and hello world container without this module
causes a daemon error.

docker info error log:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
docker daemon running?

dockerd error log:

PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m
addrtype --dst-type LOCAL -j DOCKER: iptables v1.8.3 (legacy): Couldn't
load match `addrtype':No such file or directory

Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-01 23:11:39 -05:00
Hongxu Jia
00cc8afd1e cri-o: workaround failure since go upgraded to 1.13
Since go was upgraded to 1.13, there is a failure:
...
| src/vendor/golang.org/x/net/http2/frame.go:17:2: use of vendored package not allowed
| ../../../recipe-sysroot/usr/lib64/go/src/net/http/h2_bundle.go:49:2: use of vendored package not allowed
...

Refer upstream suggestion [1]:
`or copying your vendor contents into GOPATH/src rather than
mapping them in to GOPATH/src/vendor.'

[1] https://github.com/golang/go/issues/34068

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-01 23:07:03 -05:00
Chen Qi
7d13954a89 python3-docker-compose: remove maximum version requirements
Remove maximum version requirements for docker-compose so that it
does not require old version recipes.

The old version recipes required are as below.
* PyYAML
* requests
* urllib3
* idna
* jsonschema

The current one has been tested against https://docs.docker.com/compose/gettingstarted/.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-27 17:57:10 -05:00
Ming Liu
1fe16a1e5e python-sqlalchemy: drop 1.0.16 recipe
Seems no one is referring this recipe, there is already a
python-sqlalchemy_1.1.5 recipe in this layer.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-25 16:07:17 -05:00
Hongxu Jia
de255d6afa cri-o: Disable for all mips machines
Since commit [a092153 containerd: Disable for all mips machines] applied,
and the cri-o runtime depends `virtual/containerd', it should do the same
thing to disable for all mips machines

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-25 16:05:09 -05:00
Ming Liu
e32dad4ff9 xen-guest-image-minimal: do not inherit distro_features_check
Change to inherit features_check, since distro_features_check has been
deprecated in OE.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-25 16:04:23 -05:00
Ming Liu
0b4fe1c911 meta-virt-default-versions.inc: fix invalid python-pyyaml version
The python-pyyaml recipe in this layer is 5.1.2, fix the wrong
PREFERRED_VERSION_python-pyyaml.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-25 16:03:31 -05:00
Bruce Ashfield
cf1d44e377 README: update mailing list address
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-22 07:58:34 -05:00
Chen Qi
79fb488a70 runc: fix CVE-2019-16884
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-17 22:28:37 -05:00
Bruce Ashfield
062d9f1f4f docs: roadmap: add missing workflow items
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-28 11:56:10 -04:00
Bruce Ashfield
fd706b1c3f docs: add meta-virt planning / roadmap file
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-28 11:52:20 -04:00
Joakim Roubert
a348c03a1d kubernetes: Set correct PV release number
Commit c97fe5036ef3df2967d086711e6c0c405941e14b is Kubernetes v1.16.2
(see https://github.com/kubernetes/kubernetes/releases for verification)
and building with the current recipe generates v1.16.2 binaies although
the package names state v1.16.1.

Change-Id: I5701c18cc3ce205ad906eda2595d9ad7f5748b17
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-24 13:29:27 -04:00