summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* irqbalance updated to 1.3.0] irqbalance: fix compilation errorsRC Reddy2017-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed issues: New features in this release:[From Neil Horman] ================================= optimization of platform device irq detection Added sample udev rules to trigger irq rescans on device add/remove Made irqbalance ui an optional compile component Added support for Intel CoD Add -v | --version option to command line Bug fixes in this release: ================================== Misc compiler warning fixes and spelling errors Compilation error fix on aarch64 Compilation error fix when using clang in c99 mode Unused variable cleanup Lots of memory leak cleanup in irqbalance-ui Prevent irqbalance from running in a container Fix irq affinity assignment in some cases to wrong numa node Fix oneshot mode exclude legacy irq 255 Deprecations: ================================= without-glib2 is removed, we just need it enough that we can't dummy it up anymore Tested: ================================ Tested on AARCH64 and it compiles Signed-off-by: RC Reddy <vlsireddy@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runv: add rdepends on hyperstartBruce Ashfield2017-11-151-1/+1
| | | | | | | | runv needs a kernel and initrd as part of its startup. The tested configuration for these is hyperstart, so we add it to the rdepends to ensure it is installed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* virt/containers: introduce hyperstart kernel + initrdBruce Ashfield2017-11-151-0/+25
| | | | | | | | | For VMs masquerading as kernels, we need a kernel and initrd. runv uses hyperstart for this purpose so we add the recipe here. Once built, the kernel and initrd are installed to where runv can find them automatically. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oci-systemd-hook: Always pass through all the cgroup mountsJason Wessel2017-11-142-0/+77
| | | | | | | | If the root name space has additional cgroup mounts, pass them to the container. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webob: uprev to v1.7.3Mark Asselstine2017-11-072-23/+18
| | | | | | | | | | The only user in meta-virtualization is python-bugsnag and there is no version dependency. This new version is however required by the latest openstack. Switched to using the "common" pypi.bbclass while we are at it. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kvmtool: fix compilation errorsDariusz Pelowski2017-11-063-1/+62
| | | | | | | | | | | | Fixed issues: Usage of makedev requires including <sys/sysmacros.h> otherwise the error is raised due to multiple definition in <sys/types.h>. Add include path to kernel headers required to get kvmtool compilatioin successful. Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* README: document sanity check skipBruce Ashfield2017-10-221-2/+19
| | | | | | | | The variable that must be set to disable the virtualization distro feature check was not documented in the README ... making it not so useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* vgabios: don't override the compiler ldflagsDariusz Pelowski2017-10-181-0/+1
| | | | | | | | | | | | | Fix for building biossums on genericx86-64 machine, due to QA issue: ERROR: QA Issue: No GNU_HASH in the elf binary: '.../0.7a-r0/packages-split/biossums/usr/bin/biossums' [ldflags] caused by overriding LDFLAGS variable to empty value in project's makefile. In consequence there's missing LDFLAGS settings from bitbake (including -Wl,--hash-style=gnu, which causes showing this QA). Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kubernetes: correct install pathDariusz Pelowski2017-10-171-1/+1
| | | | | | | install needs to go to ${D}, not the host path, so we fix up the offending install lines. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python3-docker: add missing RDEPENDSRicardo Salveti2017-10-171-0/+6
| | | | | | | | | Add python3-docker-pycreds, python3-requests and python3-websocket-client to RDEPENDS for a functional python docker module (otherwise even import docker fails). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: use SRCPV not SRCREVBruce Ashfield2017-10-161-1/+1
| | | | | | | | | | | Ricardo Salveti <ricardo@opensourcefoundries.com> pointed out that runc-docker was not getting a proper PV due to the use of SRCREV in the variable. By switching to SRCPV, we get the right PV for both variants of runc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Merge common metadata into inc filePaul Barker2017-10-163-8/+4
| | | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Drop inherit goarchPaul Barker2017-10-161-2/+0
| | | | | | | The go bbclass already inherits goarch. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc-docker: Drop unused EXTRA_FLAGSPaul Barker2017-10-161-2/+0
| | | | | | | This variable isn't picked up by the runc Makefile anyway as it isn't exported. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc-opencontainers: Drop unnecessary do_compile_prependPaul Barker2017-10-161-7/+0
| | | | | | | The "vendor/src" symlink is already created in do_compile in runc.inc. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* netns: Use correct go cross-compilerPaul Barker2017-10-162-1/+80
| | | | | | | | 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 <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc-docker: Disable building recvttyPaul Barker2017-10-122-0/+27
| | | | | | | | | 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 <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* sanity-meta-virt: Watch for SanityCheck eventPaul Barker2017-10-121-1/+1
| | | | | | | | | | 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 <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* sanity-meta-virt: Make skip variable name layer specificPaul Barker2017-10-122-2/+2
| | | | | | | | | 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 <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker/containerd: Export GOARCH to fix build in arm64Aníbal Limón2017-10-092-0/+2
| | | | | | | | | | | | | | | | | | If the GOARCH isn't set CGO took the ARCH from the host and tries to use -m64 flag that isn't available in aarch64 compiler. ... | # github.com/opencontainers/runc/libcontainer/system | aarch64-linaro-linux-gcc: error: unrecognized command line option '-m64' | # github.com/containerd/console | aarch64-linaro-linux-gcc: error: unrecognized command line option '-m64' | Makefile:60: recipe for target 'shim-static' failed ... Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: corrected popoulation xen.gz for syslinuxDariusz Pelowski2017-10-091-1/+1
| | | | | | | | | syslinux images cannot boot because they're missing of xen.gz file. Current poky doesn't use populate() function, instead syslinux_populate() can be used. Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cni: rprovide kubernetes-cniBruce Ashfield2017-10-051-2/+4
| | | | | | | | | Many distros make a 'kubernetes-cni' package available. This is no more than a binary extracted set of 'cni' plugins. We already have 'cni' available in the build system, so we make sure it rprovides kubernetes-cni to keep conflicts and confusion at a minimum. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers: introduce kubernetes orchestrationBruce Ashfield2017-10-051-0/+98
| | | | | | | | | | | | | | Introducing the kubernets components for container orchestration. The packaging introduced here creates the framework for more advanced kubernetes configurations. By itself, it doesn't do much but it makes the components available to be configured and deployed as master/worker nodes. It integrates with the previously introduced cni and cri-o components available in meta-virt. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Don't override GOARCH or GOROOTPaul Barker2017-10-051-3/+0
| | | | | | | | | | 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 <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Use correct go cross-compilerPaul Barker2017-10-054-1/+177
| | | | | | | | 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 <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Drop obsolete patchPaul Barker2017-10-051-48/+0
| | | | | | | This patch hasn't been used in a long time. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* netns: Update to v0.2.1Paul Barker2017-10-051-4/+5
| | | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* seabios: uri corrected to httpsDariusz Pelowski2017-10-051-1/+1
| | | | | | | | | | There's a problem with fetching SeaBIOS source code via http. SeaBIOS server returns 308: Permanent Redirect which fails on wget 1.17.1. The official source code uri goes to https, this patch aligns SRC_URI to officialy provided by SeaBIOS team. Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-guest-image-minimal: remove lines modifying DISTRO_FEATURESChristopher Clark2017-10-041-5/+0
| | | | | | | | | Remove recipe lines modifying DISTRO_FEATURES that were intended to simplify the non-x86 x11 image dependencies, but did not. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Reported-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-guest-image-minimal: fix making PCI a x86-only dependencyChristopher Clark2017-10-041-4/+4
| | | | | | | | | | | | | | | The logic for restricting the xen-pciback kernel module to x86-only images was incorrect, resulting in the IMAGE_INSTALL_x86 and _x86-64 variables causing the IMAGE_INSTALL variable contents to be overridden and incomplete. This correction removes the specialized IMAGE_INSTALL_x86 and _x84-64 variables. The replacement logic causes a value with conditionally-populated contents to be added to the IMAGE_INSTALL variable. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc-opencontainers: go.bbclass compile fixesPaul Barker2017-10-041-1/+3
| | | | | | | | These fixes are needed due to updates to go.bbclass in oe-core. See commit 01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc-opencontainers: Update to v1.0.0-rc4Paul Barker2017-10-041-4/+3
| | | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* README: update to include information about bbappend inclusionChen Qi2017-10-021-0/+5
| | | | | | | | | Update README file to include information about bbappend file inclusion, telling the users that 'virtualization' needs to be in DISTRO_FEATURES to make some bbappend files to be effective. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: make bbappend have effect conditionallyChen Qi2017-10-025-80/+24
| | | | | | | | | | | | | | Make these bbappend files to take effect only when DISTRO_FEATURES contain 'virtualization'. Otherwise, we would meet failure failure at system booting up qemux86. Related logs are as below. systemd-modules-load[113]: Failed to insert 'kvm_amd': Operation not supported systemd-modules-load[113]: Failed to insert 'kvm_intel': Operation not supported Also, make kvm related settings depend on the 'kvm' distro feature. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* sanity-meta-virt.bbclass: add class for bbappend files checkingChen Qi2017-10-022-0/+14
| | | | | | | | | | | | Add a new class, sanity-meta-virt.bbclass, to check for whether necessary settings are available for bbappend files in this layer to be effective, and warn users if not. In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable users to explicitly skip the checking to avoid unwanted warnings. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* virtualization: runv: Hypervisor-based Runtime for OCIBruce Ashfield2017-10-021-0/+82
| | | | | | | | | | | | | | | | | | | | | | Introducing runv, which is a Hypervisor-based Runtime for OCI. runV is compatible with OCI. However, due to the difference between hypervisors and containers, the following sections of OCI don't apply to runV: - Namespace - Capability - Device - linux and mount fields in OCI specs are ignored - Hypervisor The current release of runV supports the following hypervisors: - KVM (QEMU 2.1 or later) - KVM (Kvmtool) - Xen (4.5 or later) - QEMU without KVM (NOT RECOMMENDED. QEMU 2.1 or later) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers: CNI: introduce container networking interfaceBruce Ashfield2017-10-021-0/+93
| | | | | | | | | | | Introducing the CNI framework to allow platforms such as kubernetes + cri-o to use thm for networking configuration. The networking plugins are installed, but are not configured by default to create any specific networking interfaces, which are the responsibility of the image and distribution. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers: cri-o: kubernetes runc backendBruce Ashfield2017-10-023-0/+303
| | | | | | | | | | | | | | | | To prepare for native kubernetes support without docker on a target, we integrate the cri-o incubator project. cri-o is meant to provide an integration path between OCI conformant runtimes and the kubelet. Specifically, it implements the Kubelet Container Runtime Interface (CRI) using OCI conformant runtimes. The scope of cri-o is tied to the scope of the CRI. This initial introduction is build + packaging only. It is expected that configuration and deployment tweaks are done at the distro level. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oci-runtime-tools: fix multi hook specificationBruce Ashfield2017-09-202-1/+205
| | | | | | | | | | | | | | | | | | | | The following commit: commit df3a46feb971386f922c7c2c2822b88301f87cb0 Author: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> Date: Tue Aug 1 17:39:39 2017 +0800 implement add/set function for hooks items Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> Breaks the ability to specify multiple hooks with the same path (i.e. a shell script that does different things based on arguments). The author's intent with the change is unclear, so rather than fix it, we revert it for now. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oci-runtime-tools: update to 0.1.0Bruce Ashfield2017-09-201-2/+7
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-guest-image-minimal: Fix non-x86. Select x11 via IMAGE_FEATURES.Christopher Clark2017-09-192-3/+26
| | | | | | | | | | | | | | | | | | | | | | | Fix the image for non-x86, both with and without x11 included. * Only install xf86-video-vesa on x86 platforms as it is not available elsewhere. * In the absence of xf86-video-vesa (ie. on non-x86 platforms) enable opengl and remove wayland from IMAGE_INSTALL to satisfy build requirements for x11. * Use IMAGE_FEATURES instead of DISTRO_FEATURES to enable x11 inclusion in the image. * Verify the required DISTRO_FEATURE of 'xen' and if enabled, 'x11'. * When building the Xserver with Xen in DISTRO_FEATURES, on non-x86, turn off glamor by default, to remove dependency on egl. Introduces: xserver-xorg_%.bbappend Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Replace 'inherit gettext' with explicit gettext-native dependencyChristopher Clark2017-09-191-1/+2
| | | | | | | | | | | | | | This fixes the build when libc-locale-code is not a DISTRO_FEATURE. xen's configure script checks for xgettext and will abort if not found. xgettext is provided by the gettext-native package but not by gettext-minimal-native. This means that "inherit gettext" is not sufficient to satisfy Xen's build requirements: gettext-native is required. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: patch to fix ARM libxc missing variable initChristopher Clark2017-09-192-0/+38
| | | | | | | | | | | | Fix Xen 4.9.0 build error on ARM architecture with gcc 7: Import upstream Xen patch 88bfbf90e35f1213f9967a97dee0b2039f9998a4 Error was: xc_dom_arm.c:229:31: error: 'domctl.u.address_size.size' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: Make kernel-module-xen-pciback a x86-only dependencyChristopher Clark2017-09-191-1/+6
| | | | | | | | | | | This commit fixes the xen-image-minimal build for non-x86 arch with PCI enabled. The Linux kernel option CONFIG_XEN_PCIDEV_BACKEND currently depends on X86. This means that the xen-pciback kernel module cannot be included in this image for non-x86 architecture builds, so don't attempt to install it in that case. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python3-docker-compose: add version 1.16.1 + dependenciesPascal Bach2017-09-1511-0/+141
| | | | | | | | | This requires some packages as well as the pypi.bbclass from meta-python. It uses Python 3 as I don't think it makes sense to use Python 2 anymore. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oci-image-tools: fix LICENSE file locationBruce Ashfield2017-09-141-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker-distribution: adjust to new go.bbclassBruce Ashfield2017-09-141-0/+4
| | | | | | | We want to build in ${S}, so we now require an explicit cd ${S} to avoid landing in the build directory. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add menuconfig task and enable menuconfig from devshellChristopher Clark2017-09-141-0/+35
| | | | | | | | | | | | | Xen supports Kconfig for configuring optional build settings. This commit adds the menuconfig task to simplify interactive use: bitbake xen -c menuconfig and also ensures that menuconfig works when using the devshell. This change adds ncurses-native as a build dependency. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nets, docker, runc, oci-*tools: go.bbclass compile fixesJason Wessel2017-09-1414-82/+88
| | | | | | | | | | | | | | | | | | Recently in the oe-core the go.bbclass changed and requires the defition of the GO_IMPORT variable. This was intended to simplify how the compilation works with go packages and it is still a work in progress. This patch set makes the recipes compatible to generate the same end result as before using the new go.bbclass from oe-core. Any patches that were included in the recipes had to have the paths adjusted because the new go.bbclass manipulates the notion of S to be S + "src" + "$GO_IMPORT" internally for the purpose of unpack, patch and compile. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oci-image-tools: uprev to 0.2.0-devBruce Ashfield2017-09-131-2/+2
| | | | | | | To work with OCI spec v1.0 images/containers we need to update our tools. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>