Go to file
Bruce Ashfield e9a8756758 containers: add a dummy provider for /bin/sh and /bin/env
In some scenarios (and package managers), packages post install
scripts may have references to /bin/sh.

The package manager doesn't know if the scripts will run on the
build host or target, so we get a calculated redepnds on /bin/sh

base-files and base-passwd fall into this category of having
post installs, but no need for /bin/sh on the target.

If you know what you are installing, and want the smallest
container possible, this package will satisfy the dependency when
assembling the rootfs.

To enable it, put the following in a configuration file (local.conf
or otherwise):

   PACKAGE_EXTRA_ARCHS_append = " container-dummy-provides"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-11-05 14:39:32 -05:00
classes xen: retire the Raspberry Pi sdcard class 2020-08-11 15:58:37 -04:00
conf conf: add gatesgarth to compat, drop zeus 2020-10-15 08:20:03 -04:00
docs docs: Add initial Xvisor doc 2020-08-16 21:18:21 -04:00
dynamic-layers dynamic-layers: add xilinx dynamic layer for Xen support 2020-09-22 15:51:20 -04:00
files fs-perms-nagios.txt: add perms conf file 2018-09-06 12:45:17 -04:00
recipes-containers python3-docker-compose: upgrade 1.26.0 to 1.27.4 2020-11-03 16:30:29 -05:00
recipes-core containers: add a dummy provider for /bin/sh and /bin/env 2020-11-05 14:39:32 -05:00
recipes-devtools python3-docker: upgrade 4.2.1 to 4.3.1 2020-11-03 16:30:29 -05:00
recipes-extended nagios-core: uprev v4.4.3 -> v4.4.6 2020-11-03 16:29:42 -05:00
recipes-graphics/xorg-xserver xorg-xserver: make changes conditional on xen distro feature 2020-01-22 16:07:51 +00:00
recipes-kernel/linux kernel: fix conditional application of fragments 2020-10-08 18:33:41 -04:00
recipes-networking openvswitch: use /run instead of /var/run in systemd service file 2020-10-27 23:24:47 -04:00
scripts/lib/wic/plugins/source wic: add support for bootable pcbios partition with Xen hypervisor 2020-02-27 16:59:22 -05:00
wic wic: add support for bootable pcbios partition with Xen hypervisor 2020-02-27 16:59:22 -05:00
.gitignore wic: add support for bootable pcbios partition with Xen hypervisor 2020-02-27 16:59:22 -05:00
COPYING.MIT Initial meta-xen layer documentation. 2012-06-21 15:51:11 -06:00
MAINTAINERS layer: Add MAINTAINERS file 2020-02-27 17:10:30 -05:00
meta-virt-roadmap.txt docs: roadmap: add missing workflow items 2019-10-28 11:56:10 -04:00
README layer: Add MAINTAINERS file 2020-02-27 17:10:30 -05:00

meta-virtualization

This layer provides support for building Xen, KVM, Libvirt, and associated packages necessary for constructing OE-based virtualized solutions.

The bbappend files for some recipes (e.g. linux-yocto) in this layer need to have 'virtualization' in DISTRO_FEATURES to have effect. To enable them, add in configuration file the following line.

DISTRO_FEATURES_append = " virtualization"

If meta-virtualization is included, but virtualization is not enabled as a distro feature a warning is printed at parse time:

You have included the meta-virtualization layer, but
'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files
may not take effect. See the meta-virtualization README for details on enabling
virtualization support.

If you know what you are doing, this warning can be disabled by setting the following variable in your configuration:

SKIP_META_VIRT_SANITY_CHECK = 1

Depending on your use case, there are other distro features in meta-virtualization that may also be enabled:

  • xen: enables xen functionality in various packages (kernel, libvirt, etc)
  • kvm: enables KVM configurations in the kernel and autoloads modules
  • k8s: enables kubernets configurations in the kernel, tools and configuration
  • aufs: enables aufs support in docker and linux-yocto
  • x11: enable xen and libvirt functionality related to x11
  • selinux: enables functionality in libvirt and lxc
  • systemd: enable systemd services and unit files (for recipes for support)
  • sysvinit: enable sysvinit scripts (for recipes with support)

Dependencies

This layer depends on:

URI: git://github.com/openembedded/openembedded-core.git branch: master revision: HEAD prio: default

URI: git://github.com/openembedded/meta-openembedded.git branch: master revision: HEAD layers: meta-oe meta-networking meta-filesystems meta-python

BBFILE_PRIORITY_openembedded-layer = "4"

Required for Xen XSM policy: URI: git://git.yoctoproject.org/meta-selinux branch: master revision: HEAD prio: default

Required for Ceph: URI: git://git.yoctoproject.org/meta-cloud-services branch: master revision: HEAD prio: default

Required for cri-o: URI: git://github.com/advancedtelematic/meta-updater URI: git://git.yoctoproject.org/meta-selinux URI: git://git.yoctoproject.org/meta-security branch: master revision: HEAD prio: default

Maintenance

Send pull requests, patches, comments or questions to meta-virtualization@lists.yoctoproject.org

Maintainer: Bruce Ashfield bruce.ashfield@gmail.com see MAINTAINERS for more specific information

When sending single patches, please using something like: $ git send-email -1 -M --to meta-virtualization@lists.yoctoproject.org --subject-prefix='meta-virtualization][PATCH'

License

All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in each recipe (.bb file) unless otherwise stated.