summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docker: fix init script for busyboxPhil Coval2020-02-271-1/+1
| | | | | | | | | | | Observed issue using BusyBox v1.30.1 not supporting bashism /etc/init.d/docker.init: line 43: syntax error: unexpected redirection Change-Id: I9f73564cfb56352fbf7d80723ea938b66eceb5c7 Forwarded: https://lists.yoctoproject.org/g/meta-virtualization Signed-off-by: Philippe Coval <rzr@users.sf.net> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: Backport patch that renames memfd_create() functionOleksii Kurochko2020-02-272-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Autotools makes configuration of LXC, the check of the memfd_create() function fails because __stub_memfd_create and __stub___memfd_create (The GNU C library defines this for functions which it implements to always fail with ENOSYS) are defined in Glibc, which leads to the fact that the macro HAVE_MEMFD_CREATE is not defined and LXC provides defintion of the memfd_create() function as static inline which in turn conflicts with a definition from the <bits/mman-shared.h> file and causes an error: | In file included from ../../../lxc-3.2.1/src/lxc/conf.c:79: | <src_path>//lxc/syscall_wrappers.h:77:19: error: static declaration | of 'memfd_create' follows non-static declaration | | static inline int memfd_create(const char *name, unsigned int flags) { | | ^~~~~~~~~~~~ | In file included from /usr/include/bits/mman-linux.h:111, | from /usr/include/bits/mman.h:34, | from /usr/include/sys/mman.h:41, | from <src_path>/lxc-3.2.1/src/lxc/conf.c:42: | /usr/include/bits/mman-shared.h:50:5: note: previous declaration | of 'memfd_create' was here | | int memfd_create (const char *__name, unsigned int __flags) __THROW; | | ^~~~~~~~~~~~ Upstream PR: https://github.com/lxc/lxc/pull/3168 (merged) Signed-off-by: Oleksii Kurochko <olkuroch@cisco.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: allow fragment re-use from any aware kernelBruce Ashfield2020-02-266-3/+18
| | | | | | | | | | | | | | | | The kernel fragments contained in this layer could not easily be consumed by any fragment aware kernel not called "linux-yocto". To make them easier to include, we make the bbappend more generic, to match any linux*.bb recipe (note: this means it will match things like linux-atm.bb as well). To avoid adding the fragments to recipes that can't use them, or to a version that hasn't been valided, we use the LINUX_VERSION variable to pull out the major/minor kernel release and then include a specific version of the .inc file. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add v5.4 bbappendBruce Ashfield2020-02-211-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop v4.19 bbappendBruce Ashfield2020-02-211-1/+0
| | | | | | 4.19 has been dropped from core, so we drop our bbappend. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* hook_support.py: convert to python3Changqing Li2020-02-201-1/+1
| | | | | | | | | python2 has been removed from oe-core, convert the scripts to python3 to avoid runtime error like: /usr/bin/env: 'python': No such file or directory' Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: allow custom build tags via packageconfigRicardo Salveti2020-02-201-2/+3
| | | | | | | | | | | As done by the docker-moby recipe, move the definition of the default build tags outside do_compile and let the docker build tags be customized via the packageconfig options set by the recipe. This is required for enabling seccomp support during build time. Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.12 to v2.13Mark Asselstine2020-02-206-467/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another straightforward uprev with one fairly large change in the changelog. The Open Virtual Network component has now been moved to its own repo (https://github.com/ovn-org/ovn.git). If you were using this functionality a new recipe will need to be created. The ptest results are similar to after the v2.12 uprev ERROR: 2206 tests were run, 28 failed unexpectedly. 62 tests were skipped. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) tunnel.at(1) tunnel-push-pop.at(3) tunnel-push-pop-ipv6.at(3) dpif-netdev.at (1) pmd.at(1) ofproto-dpif.at (7) bridge.at (2) ovsdb-idl.at(1) mcast-snooping.at(1) packet-type-aware.at(2) None of these affect core functionality or usecases and are similar to the results we see with v1.12. If specific usecases are affected by these failures we should address them on a need to fix basis. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: 14.2.6 -> 14.2.7Kai Kang2020-02-132-19/+87
| | | | | | | | | | | | | | | | Update ceph from 14.2.6 to 14.2.7. * Backport patch to fix compile error * Replace python with python3 in the script files that /usr/bin/python not exists * Replace runtime dependency python3 with python3-core - /usr/bin/python3 is provided by python3-core - packagee python3 is provided by python3-modules which in RDEPENDS already This has been build-only tested. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.11 to v2.12Mark Asselstine2020-02-135-26/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A mostly straightforward uprev. Unfortunately a required patch for python3 is only available on a non-release branch so we must carry it in order to build (the discussion on the mailing list was that an uprev might have avoided this, but this is not the case). The ptest results are similar to after the v2.11 uprev ERROR: 2413 tests were run, 23 failed unexpectedly. 383 tests were skipped. NOTE, however, that they have now marked many tests as 'skipped', such as the python2 results, so the failed and skipped numbers have essentially swapped with each other. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) dpif-netdev.at (1) ofproto-dpif.at (6) bridge.at (2) ovn.at (2) ovn-controller-vtep.at (6) Most were issues with the test or expectations that source code would be available. There might be an issue around packaging of "/vswitchd/vswitch.ovsschema" but we should be able to overlook this for now, as we have with previous versions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: Backport patches for keyring optionsMaximilian Blenk2020-02-133-0/+494
| | | | | | | | | | | | | | The added patches allow to set the SELinux context for the session keyring that is created by lxc. In addition it is possible to disable the creation of a new session keyring completely. Upstream PR: https://github.com/lxc/lxc/pull/3260 (merged) If lxc is executed on a SELinux enabled system, these options can be used to assign the expected label to the session keyring. Signed-off-by: Maximilian Blenk <maximilian.blenk@bmw.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: inherit perlnative for pod2manChen Qi2020-02-111-1/+1
| | | | | | | pod2man is now provided by perlnative instead host. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker-compose: update to 1.25.4Ricardo Salveti2020-02-112-6/+6
| | | | | Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor: Initial commit of Xvisor HypervisorAlistair Francis2020-02-113-0/+103
| | | | | | | | | | | This commit adds support for building the baremetal Xvisor Hypervisor. I have only tested this with RISC-V so currently only RISC-V is marked as a COMPATIBLE_HOST, although Xvisor does support multiple other architectures. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: defer DISTRO_FEATURE check to bbclass processingBruce Ashfield2020-02-103-4/+4
| | | | | | | | | | | | | | | | | We were using USER_CLASS loading to allow conditional checking on DISTRO_FEATURES, which triggered distro feature specific version pinning. It was found that DISTRO_FEATURES set in local.conf is not consistently available at layer.conf parse time, hence our checks were not always working as expected (i.e. the version files are not included). If we move the DISTRO_FEATURE check to the bbclasses, and use it to trigger the include, we should have a consistent set of variable resolution and consistent behaviour. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker-compose: import fastentrypointsMing Liu2020-02-032-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docker-compose project is using console_scripts which hence imports pkg_resources which is very slow at starting time, see: https://github.com/pypa/setuptools/issues/510 This could be workaround by importing fastentrypoints module. Some tests: Before the patch, on a colibri-imx8x machine: $ time docker-compose ``` real 0m5.108s user 0m4.761s sys 0m0.272s ``` After the patch, on a colibri-imx8x machine: $ time docker-compose ``` real 0m3.526s user 0m3.249s sys 0m0.235s ``` Have verified the patch with: https://docs.docker.com/compose/gettingstarted Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-fastentrypoints: add recipeMing Liu2020-02-031-0/+18
| | | | | | | | python3-fastentrypoints is a python module that make entry_points specified in setup.py load more quickly. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Use python3-native for python installJeremy Puhlman2020-02-031-2/+2
| | | | | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: compile with journald support if systemd is enabledStefan Agner2020-01-291-0/+3
| | | | | | | | | | | | | 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>
* conf: remove unneeded preferred versionsBruce Ashfield2020-01-221-6/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xorg-xserver: make changes conditional on xen distro featureBruce Ashfield2020-01-222-12/+14
| | | | | | | The changes in this bbappend should only trigger when xen is in the distro features. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* initscripts: make DISTRO_FEATURE safeBruce Ashfield2020-01-222-15/+17
| | | | | | | The initscripts bbappend should only activate when virtualization is in distro features. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python: make DISTRO_FEATURE safeBruce Ashfield2020-01-222-8/+9
| | | | | | | | 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>
* libibverbs: import frmo meta-cloud-servicesBruce Ashfield2020-01-221-0/+34
| | | | | | | 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>
* python: update bbappend to python3.xBruce Ashfield2020-01-221-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: trivial: allow parsing in python3 only oe-coreBruce Ashfield2020-01-221-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: make python3 safeBruce Ashfield2020-01-222-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: update and make python3 safeBruce Ashfield2020-01-222-74/+15
| | | | | | | | | 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>
* gunicorn: uprev and make python3 readyBruce Ashfield2020-01-221-4/+5
| | | | | | Updating gunicorn so it can function in a python3 only environment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* singularity: update for python3 supportBruce Ashfield2020-01-221-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* criu: python3 updateBruce Ashfield2020-01-222-57/+16
| | | | | | Updating the version of criu and the install rules to be python3 safe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python: update support packages to python3Bruce Ashfield2020-01-2215-421/+39
| | | | | | | | 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>
* python: drop blinker specific version and python2 recipeBruce Ashfield2020-01-212-25/+0
| | | | | | | 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>
* python: drop python-backports-lzmaBruce Ashfield2020-01-212-49/+0
| | | | | | Now that we are python 3.3+ only, we no longer need this backport. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* devtools: drop python2 variant of python-sphinxBruce Ashfield2020-01-211-12/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: drop python2 variantsBruce Ashfield2020-01-213-38/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: update to v19.03.5Stefan Agner2020-01-171-3/+3
| | | | | | | | | | 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>
* podman: bump to latest release 1.7.0Stefan Agner2020-01-171-5/+4
| | | | | | | | | | | 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>
* conmon: bump to version 2.0.9Stefan Agner2020-01-172-33/+1
| | | | | | | | 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>
* Revert "go: add back 1.12 version to avoid compilation failure"Bruce Ashfield2020-01-0924-1542/+0
| | | | This reverts commit 06dad20a32c81b6a8b6e93c99cda6f1133abddc6.
* k8s: update to v1.17-betaBruce Ashfield2020-01-093-77/+4
| | | | | | | | | | | 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>
* python-pyyaml: Remove the recipeWang Mingyu2020-01-081-32/+0
| | | | | | | 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>
* python-sqlalchemy: Remove the recipeWang Mingyu2020-01-081-18/+0
| | | | | | | 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>
* ceph: backport patch to fix compilation failure of boost 1.72Chen Qi2020-01-082-0/+63
| | | | | | | | 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>
* docker: remove docker.service.rpmChen Qi2020-01-082-0/+2
| | | | | | | 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>
* nagios-nrpe: fix compile error when packageconfig ssl enabledKai Kang2019-12-291-1/+1
| | | | | | | | | | | | | | | | 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>
* podman: upgrade 1.6.1 -> 1.6.2Tim Orling2019-12-181-2/+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>
* meta-virt-default-versions.inc: use go 1.12 versionChen Qi2019-12-101-0/+4
| | | | | | | 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>
* go: add back 1.12 version to avoid compilation failureChen Qi2019-12-1024-0/+1542
| | | | | | | | | | | | | | 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>
* conf: add k8s distro featureBruce Ashfield2019-12-104-2/+11
| | | | | | | Add support for a new distro feature to control kubernetes versions and related configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>