summaryrefslogtreecommitdiffstats
path: root/recipes-extended/images
Commit message (Collapse)AuthorAgeFilesLines
* xen: make kernel modules an override possible variableBruce Ashfield2020-09-221-7/+7
| | | | | | | | | | Sometimes Xen is built with different mixes of kernel modules and built-in values. If we put our expected/default modules in a variable, they can be overriden by a different kernel provider as required Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: make QB_ assignments weakBruce Ashfield2020-09-161-4/+4
| | | | | | | | | | | | | | runqemu is looking for the QB_DEFAULT_KERNEL to be set to "none" to trigger special processing. The current set of QB_DEFAULT_KERNEL="" won't trigger that behaviour .. so we change the default. We also make the assignments weak, to allow easier overrides in specific implementations. We also need a patch to qemuboot.bbclass to make the defaults ??=, and when that is done, our ?= here will work properly. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor-image-minimal: Initial commit of a Xvisor imageAlistair Francis2020-08-161-0/+20
| | | | | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: enable runqemu for x86-64Christopher Clark2020-03-021-0/+13
| | | | | | | | | | | | | | | | Booting this Xen image with QEMU works when launching from the wic-generated pcbios disk image with the directdisk-xen.wks kickstart file, so add the variable settings to make doing it simple -- eg: runqemu xen-image-minimal nographic slirp Tested with MACHINEs: qemux86-64 and genericx86-64 Memory allocated to qemu is increased slightly over the default to allow for running Xen and the Linux dom0 and guest VMs. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* uxen-guest-tools, image: package the Linux VM tools for uXen hypervisorChristopher Clark2020-02-271-0/+9
| | | | | | | | | | | | | | uXen is a type-2 Open Source hypervisor from Bromium/HP. https://www.bromium.com/opensource/ This adds packaging for the Linux guest support software, enabling OE to produce VM images to run on the uXen hypervisor. uxen-guest-tools: in-guest software device drivers uxen-guest-image-minimal : minimal core image with uXen drivers Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: add a build dependency on the xen hypervisorChristopher Clark2020-02-271-0/+4
| | | | | | | | | The hypervisor may not be within the dom0 filesystem image itself, so add a task dependency to ensure that it is deployable: do_build[depends] += "xen:do_deploy" Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: add kernel-module-tun for HVM guest networkingChristopher Clark2020-02-271-0/+4
| | | | | | | Xen HVM guests are only on x86 platforms so add the module via overrides. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: separate recipes for hypervisor and tools; switch to git as sourceChristopher Clark2020-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change changes the names of many packages produced: the xen-tools recipe now builds packages previous built by the xen recipe, so the package prefix changes from "xen-" to "xen-tools-". A temporary bbappend is provided for qemu to ease the transition. Multiple motivations for recipe separation: - improves efficiency of incremental build and development - supports building the hypervisor and tools with different toolchains and for different architectures Switch to using a git recipe on the Xen stable branch: - enables easier tracking of critical XSA security updates applied upstream by just advancing SRCREV along the branch Revision has been set to the tip of the stable-4.12 branch, which has the one XSA-312 patch applied on top of RELEASE-4.12.2. The recipe refactor externalizes the block tap components, to enable optional building of blktap in a separate recipe outside xen-tools, needed by OpenXT. xenstored is made a virtual package to support switching between alternative implementations (several exist). Update xen-image-minimal to install the xen-tools package, which replaces what was previously xen-base. Determine the flask policy filename, which is Xen-version specific, using the same method as the Xen build system. qemu: update PACKAGECONFIG[xen] for xen package renaming: allows builds to continue correctly in the meantime while openembedded core and poky are updated. OpenXT ticket reference: OXT-1694 Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-guest-image-minimal: do not inherit distro_features_checkMing Liu2019-11-251-1/+1
| | | | | | | | 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>
* container-base: Allow building with a specific kernel bindingJason Wessel2019-04-071-0/+3
| | | | | | | | | | | | The oe-core layer sets a variable which intends that linux-dummy is set for container building. This commit would allow you to have a specific kernel and board setup as well as generate multiple containers by turrning off the linux-dummy check found in: oe-core/meta/classes/image-container.bbclass Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers: introduce sample/reference container-base image typeBruce Ashfield2019-02-271-0/+28
| | | | | | | | | | | | | | | container-base is a sample/reference image type that uses the newly integrated image-oci image type to directly create OCI compatible images from a build. This image type can be inherited and extended to implement more complex container types, with modified image configurations. It is inspired by / based off the samples in the presentation done by Scott Murray (Building Container Images with OpenEmbedded and the Yocto Project) at ELCe 2018. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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-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>
* 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-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>
* [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>
* 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>
* xen-image-minimal: if DISTRO_FEATURES is missing xen errorDoug Goldstein2016-12-181-0/+8
| | | | | | | | | It can be confusing to users why things are failing with missing kernel dependencies when you don't have 'xen' in your DISTRO_FEATURES. This should provide them with some better info. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* globally replace 'base_contains' calls with 'bb.utils.contains'Derek Straka2016-05-031-2/+2
| | | | | | | The 'base_contains' is now deprecated and only kept as a compatibility method. It will be removed in future releases. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-image-*: catch up with OE-core class renameKoen Kooi2015-06-142-2/+2
| | | | | | | OE-core rev 0a3e8eb9f592c3f1edd2c7521855f7406541651a renamed 'image-vmdk' to 'image-vm'. IMAGE_FSTYPES didn't change, so keep those as 'vmdk'. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: Install qemu instead of xen-qemuNathan Rossi2015-02-201-1/+1
| | | | | | * Install QEMU from the distro as opposed to a specific xen-qemu setup Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen-*image-minimal: Setup conditional based on MACHINE_FEATURESNathan Rossi2015-02-202-3/+3
| | | | | | | * Conditionally add packages to the image depending on whether the machine supports the respective feature Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* kvm-image-minimal: Fix warningMaxin B. John2014-07-161-2/+0
| | | | | | | | | | | | | Fix this warning: WARNING: Function remove_packaging_data_files doesn't exist The remove_packaging_data_files function is now handled automatically when "package-management" is not in IMAGE_FEATURES. We should remove the lines, as they are not needed and might interfere with correct operation of postinstall scripts. Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: fix syslinux dependencyChris Patterson2013-11-241-0/+2
| | | | | | | | | | Install libcom32.c32 when populating syslinux-based images. When syslinux upgraded to v6, libcom32.c32 became a dependency for mboot.c32. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-guest-image-minimal: add minimal xen guest image.Chris Patterson2013-10-101-0/+16
| | | | | Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: update image installed modules to reflect xen fragment ↵Chris Patterson2013-10-101-6/+0
| | | | | | | changes. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: break out arguments for xen and linux kernel as variables ↵Chris Patterson2013-10-101-1/+4
| | | | | | | SYSLINUX_XEN_ARGS and SYSLINUX_KERNEL_ARGS to allow modification/overwriting. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: update image to support xen 4.3.0 base with xl toolstack.Chris Patterson2013-09-241-6/+46
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* Created new target: kvm-image-minimalMihai Prica2013-01-291-0/+25
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: David Nyström <david.nystrom@enea.com>
* Added template cloud-* imagesDavid Nyström2012-12-073-0/+66
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: Changed from task-core-boot to package-core-bootMihai Prica2012-11-261-1/+1
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* images/xen-image-minimal: Initial meta file for a minimal xen image.Raymond Danks2012-06-212-0/+49
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>