summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* xen: PolarSSL recipe and patches for Xen stubdomsKurt Bodiker2018-05-013-0/+110
| | | | | | | | | | | | | | | | PolarSSL (now mbedTLS) is a lightweight SSL library optimized for embedded systems. In the case of Xen stubdomains, we are using MiniOS. This PolarSSL recipe creates a static library that is cross-compiled against MiniOS, Xen, LWIP, and Newlib headers and subsequently used during the cross-compilation and linking of the stubdom specific GMP, TPM Emulator, and the Xen vTPM and vTPM Manager stubdomains. The current Xen source code is hardcoded to fetch a specific version of this package. The patch files originate from the Xen/stubdom source tree. This recipe provides the flexibility to change version or modify the patches. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Newlib recipe and patches for Xen stubdomsKurt Bodiker2018-05-015-0/+983
| | | | | | | | | | | | | | | Newlib provides a fast, C library optimized for embedded systems. In the case of Xen stubdomains, we are using MiniOS. This Newlib recipe creates static libraries that are cross-compiled against MiniOS, Xen, and LWIP headers and subsequently used during the cross-compilation and linking of PolarSSL, the stubdom specific GMP, TPM Emulator, and the Xen vTPM and vTPM Manager stubdomains. The current Xen source code is hardcoded to fetch a specific version of this package. The patch files originate from the Xen/stubdom source tree. This recipe provides the flexibility to change version or modify the patches. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Mini-OS source code with make links target appliedKurt Bodiker2018-05-013-0/+89
| | | | | | | | | | | | | | | | | | | | | Mini-OS is a tiny OS kernel distributed with the Xen Project Hypervisor sources. It is mainly used as operating system for stub domains that are used for Dom0 Disaggregation. The Mini-OS source tree is updated and released in coordination with Xen releases. The Mini-OS source tree and architecture-specific symbolic links are required for building the dependencies used to build Xen stubodmains. For convenience, the make links target was executed before packaging. Otherwise, this is a source package. The current build methods for Xen stubdomains require either a source archive which contains the Mini-OS source code or execution of a make target that will fetch the appropriate Mini-OS source tree from it's git repository. This recipe removes the mysticism of relating to the version of Mini-OS being used and it's origins and provides the flexibility to easily changes versions or patch as necessary. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: LWIP source code with patches applied for stubdomsKurt Bodiker2018-05-014-0/+2454
| | | | | | | | | | | | | | | | lwIP is a small implementation of the TCP/IP stack designed for use in embedded systems. This lwIP recipe does not configure nor does it build the product. Instead, this recipe applies the patches normally found in the Xen/stubdom source tree and creates a source package that can be used for cross-compiling for MiniOS. The current Xen source code is hardcoded to fetch a specific version of this package. The patch files originate from the Xen/stubdom source tree. This recipe provides the flexibility to change version or modify the patches. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Define standard values needed to build stubdomainsKurt Bodiker2018-05-011-0/+152
| | | | | | | | | | | This commit introduces the stubdom.inc file that is required for each recipe that is/will be built for Xen stubdomains. This file defines the standard values to be used such as common dependencies, compiler and linker flags, and unsets every flag and build tool that is exported into the OE environment. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Refactor to conform to YP Compat requirementsArmin Kuster2018-04-232-19/+20
| | | | | | | This prevents the signature from being modified Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: refresh patches to fix QA warningYi Zhao2018-04-123-14/+26
| | | | | | | | | The patches are refreshed with devtool command: devtool modify irqbalance devtool finish --force-patch-refresh irqbalance meta-virtualization Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* vgabios: replace PN with BPN, to solve fetch failure while building for multilibJagadeesh Krishnanjanappa2018-03-081-1/+1
| | | | | | | | | | | | | | | | The multilib vgabios (for example lib32-vgabios) fetch fails with below error: -- snip -- Location: http://nongnu.askapache.com/vgabios/lib32-vgabios-0.7a.tgz [following] --2018-03-07 16:45:22-- http://nongnu.askapache.com/vgabios/lib32-vgabios-0.7a.tgz Resolving nongnu.askapache.com... 192.185.42.228 Connecting to nongnu.askapache.com|192.185.42.228|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-03-07 16:45:22 ERROR 404: Not Found. -- snip -- Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: use oe.utils.str_filter_outRicardo Salveti2018-01-301-1/+1
| | | | | | | | oe_filter_out is not available in oe-core anymore so use oe.utils.str_filter_out instead. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: for 4.10.0: XSA-253 / CVE-2018-5244 patchChristopher Clark2018-01-122-0/+28
| | | | | | | Fix a memory leak with MSR emulation on x86. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add recipe for Xen 4.10.0Christopher Clark2018-01-121-0/+10
| | | | | | | Introduce the recipe for Xen 4.10.0. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: xen.inc: remove xen-blktap from xen-base RDEPENDSChristopher Clark2018-01-121-3/+3
| | | | | | | | | | | | In Xen 4.10, blktap is deprecated and no longer built by default, so make the xen-blktap, xen-libblktap and xen-libvhd packages optional instead of required dependencies for the xen-base package. Move xen-blktap and related packages to RRECOMMENDS to preserve xen.inc compatability with previous Xen releases. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Package libxentoolcore and xen-diag, introduced in Xen 4.10Christopher Clark2018-01-121-0/+9
| | | | | | | | Package a new library, libxentoolstore, introduced in Xen 4.10. Also package the xen-diag tool in the xen-misc package. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: upgrade 4.9.x recipe to 4.9.1 and apply XSA/CVE fix patchesChristopher Clark2018-01-1210-48/+671
| | | | | | | | | | | | | | | | Upgrade the Xen 4.9.x series recipe to latest 4.9.1 and apply patches for: XSA-245 / CVE-2017-17046 XSA-246 / CVE-2017-17044 XSA-247 / CVE-2017-17045 XSA-248 / CVE-2017-17566 XSA-249 / CVE-2017-17563 XSA-250 / CVE-2017-17564 XSA-251 / CVE-2017-17565 Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dnsmasq: add dnsmasq.d entries for lxc and libvirtMark Asselstine2017-12-282-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A while ago changes were merged to meta-openembedded to make /etc/dnsmasq.d (and specifically the files it contains) referenced when the main instance of dnsmasq is run (see dnsmasq.service and commit ba665493a0dd [dnsmasq: allow for dnsmasq instances to reuse default dnsmasq.conf]). We, however, continued to modify the global configuration (/etc/dnsmasq.conf) to keep the main instance of dnsmasq from attaching to virbr0 and lxcbr0, by using 'bind-dynamic'. This approach is problematic, since it is common that other instances of dnsmasq will make use of the global configuration file and may have incompatible options. We see this for example when attempting to start lxc-net which will attempt to use 'bind-interface' which is incompatible with 'bind-dynamic' that we were adding to the global configuration. Here we remove our change to the global configuration (leaving it mostly empty as it should be) and instead have lxc and libvirt packages instruct the global instance not to bind to virbr0 and lxcbr0 by adding configuration files to /etc/dnsmasq.d (setting except-interface). The added benefit to this approach is that if lxc or libvirt are not part of an image the global configuration will not be modified in such a way as to expect that they are present. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iptables: add to our list of RRECOMMENDSMark Asselstine2017-12-281-1/+12
| | | | | | | | | | | Extend the list of RRECOMMENDS to include some essential kernel modules needed to make iptables minimally useful. Specifically include the common tables and conntrack, all of which are used by even basic iptables configurations. While at it I also made things more consistent for ipv4 vs ipv6. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kvm-image-minimal: drop remaining ROOTFS_PKGMANAGE_BOOTSTRAPMark Asselstine2017-12-281-1/+0
| | | | | | | | | | | | | | Commit 4eee02bd6405557c664f91b6079c2f203d48c545 [meta-virtualization: Drop ROOTFS_PKGMANAGE_BOOTSTRAP] missed this instance so we are removing this last reference to ROOTFS_PKGMANAGE_BOOTSTRAP now. The ROOTFS_PKGMANAGE_BOOTSTRAP has been universally removed since oe-core commit 697804229a172125ce7d3bfc9b343812d6fe3240 [run-postinsts: simplify the logic of whether to install it to images]. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: delete references to xenstored.socket and xenstored_ro.socket in xen.incYan Yankovskyi2017-11-271-4/+0
| | | | | | | | | | | These files were removed since the followine patch http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=976ce01e103fc03bb3336cdbc6c951a709e285fe and are absent in xen 4.8.0 and further, which leads to the following error during the Xen build process: do_package: SYSTEMD_SERVICE_xen-xencommons value xenstored.socket does not exist Signed-off-by: Yan Yankovskyi <yan.yankovskyi@globallogic.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* xen-guest-image-minimal: Fix non-x86. Select x11 via IMAGE_FEATURES.Christopher Clark2017-09-191-3/+13
| | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* libvirt: fix build failure, failing QA checkChunrong Guo2017-08-291-1/+1
| | | | | | | | | | | The build is failing due to a failing QA check: ERROR: libvirt-1.3.5-r0 do_package_qa: QA Issue: /usr/lib/libvirt/ptest/tests/tests/check-file-access.pl contained in package libvirt-ptest requires /usr/bin/perl, but no providers found in RDEPENDS_libvirt-ptest? [file-rdeps] Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Only generate long-double-32.h if absentChristopher Clark2017-08-291-1/+3
| | | | | | | | | | Only copy long-double-64.h to create long-double-32.h if it is not already present. Compile tested with both ARM 32-bit build and x86 64-bit build. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* [PATCH] xen: remove xen-bootimg.incChristopher Clark2017-08-291-35/+0
| | | | | | | | | | | | | | This inc file has not been used within meta-virtualization since: Date: Tue Sep 10 21:02:41 2013 -0400 commit 214c4715f0ed53ba9c499932b0b6ee3f602ff89f and has needed updating since the changes in: Date: Wed Feb 24 01:23:58 2016 -0800 git://git.openembedded.org/openembedded-core commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2 Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal : change SYSLINUXCFG to SYSLINUX_CFGChristopher Clark2017-08-241-7/+7
| | | | | | | | | | | | | | | | | | | | The SYSLINUXCFG variable was renamed to SYSLINUX_CFG in poky and openembedded-core with the commits referenced below. This commit makes a corresponding change to fix the build for xen-image-minimal. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> git://git.openembedded.org/openembedded-core commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2 git://git.yoctoproject.org/poky.git commit bb1c719250cecc8725147cbdd999a9a44a11b549 Author: Robert Yang <liezhi.yang@windriver.com> Date: Wed Feb 24 01:23:58 2016 -0800 syslinux.bbclass: make vm and live can be built together Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen : cp long-double-64.h long-double-32.h to fix hvmloader buildChristopher Clark2017-08-241-0/+1
| | | | | | | | | | | | Fix the xen build when MACHINE = "genericx86-64" by providing long-double-32.h Inspired by a similar recent patch to meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb since the contents of the header are minimal: cp ${STAGING_INCDIR}/bits/long-double-64.h ${STAGING_INCDIR}/bits/long-double-32.h Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ipxe: fetch using https rather than git protocolChristopher Clark2017-08-241-1/+1
| | | | | | | | The git protocol isn't responding at the ipxe fetch source; https is, so use that instead. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* vgabios : extract biossums tool and build it separately, nativeChristopher Clark2017-08-242-2/+40
| | | | | | | | | | | | | | | The biossums tool is used to generate the vgabios build product. This patch: * adds a separate recipe "biossums" for the tool * makes the vgabios recipe depend upon biossums-native * makes the vgabios recipe use the native binary rather than a locally built one The upstream source tarball contains binaries so these are removed before compiling proceeds. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: remove STAGING_DIR_HOST from the runtime search path for bios.binChristopher Clark2017-08-171-1/+1
| | | | | | | | | | This configuration option sets a run-time search path rather than the location of a build-time dependency. Tested with Xen 4.9 on OpenXT. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: remove 4.8 recipeBruce Ashfield2017-08-141-10/+0
| | | | | | We have 4.9 in the tree, so we no longer need the 4.8 variant. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add recipe for Xen 4.9.0Christopher Clark2017-08-141-0/+10
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Package .pc packageconfig files into dev packagesChristopher Clark2017-08-141-15/+60
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Package libxendevicemodel, introduced in Xen 4.9Christopher Clark2017-08-141-0/+5
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-virtualization: Drop ROOTFS_PKGMANAGE_BOOTSTRAPFupan Li2017-08-032-2/+0
| | | | | | | | | OE-Core has now dropped this var in the commit of 697804229a17<run-postinsts: simplify the logic of whether to install it to images>. Signed-off-by: Fupan Li <fupan.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-image-guest/controller: remove inherit image-vmRobert Yang2017-08-032-4/+2
| | | | | | | | The image-vm.bbclass had been removed by oe-core, and vmdk is replaced by wic.vmdk. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* diod: add new recipeYi Zhao2017-06-275-0/+295
| | | | | | | | diod is a multi-threaded, user space file server that speaks 9P2000.L protocol. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Fix mistype error in xen-watchdog systemd servicepyro-nfvaccessIurii Mykhalskyi2017-04-301-1/+1
| | | | | | | | Due to error in naming this service will not be autoenabled in systems with systemd init manager Signed-off-by: Iurii Mykhalskyi <iurii.mykhalskyi@globallogic.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add DEPENDS for libdevmapperMark Asselstine2017-04-271-1/+1
| | | | | | | | | | | | | | | | | | Commit 8709d4504c35817ef1d7181b47ba96c3ca0c949e [lvm2: separate libdevmapper to avoid circular dependency] in meta-oe meant that our build would fail with checking for libdevmapper.h... no configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt Add the required DEPENDS for libdevmapper to get the build working as it did prior to this meta-oe change. NOTE: our previous dependency on lvm2 was not only to get libdevmapper functionality, so lvm2 remains a valid DEPENDS, so is left in place. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Fix conditional dependencies on polkitRob Woolley2017-04-241-4/+13
| | | | | | | | | | | | | | | | | | | | The DIRFILES variable was a temporary workaround to resolve a do_rootfs RPM package conflict between libvirt and polkit. This happened because of the different permissions and ownership that the packages placed on ${datadir}/usr/share/polkit-1/rules.d. The behaviour is now conditional based on how PACKAGECONFIG is set. The polkit rules will be removed from the package if polkit is not enabled. If polkit is enabled the permissions and ownership are set to match those set by the polkit recipe. This uses the useradd enhancements for RSS. It requires that shadow-native be included as a DEPENDS to provide the useradd command in the native sysroot. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kvmtool: Fix unaligned pointer access warningKhem Raj2017-03-242-1/+41
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>