Go to file
Bruce Ashfield 28491d29ed crun: update to v1.8.1
Bumping crun to version 1.8.1-3-ga09ab72, which comprises the following commits:

    11d1baf build(deps): bump actions/upload-artifact from 2 to 3
    f8a096b NEWS: tag 1.8.1
    4748543 utils: drop magic number 4096
    b022227 utils: use mempage size buffer to read /proc/mounts
    2da0773 linux: always use direct mapping
    6cdf51c container: delete cgroup on errors
    fba646e cgroup: rmdir the entire systemd scope
    3221684 crun.1.md: fix typo
    31bcf8f crun.1.md: fix markup
    5007784 build: delete .version file on make clean
    46fbeee cgroup: reset systemd unit if start fails
    7e7a4db cgroup: do not add default dependencies
    4bd4c4e test: run codespell on the correct directory
    8b46c45 src: run codespell
    b841b71 Support passing an attribute to change the mount_context_type
    2ca4233 test: fix path for crictl
    ce66b2e Revert "Support passing an attribute to change the mount_context_type"
    87b69c3 Support passing an attribute to change the mount_context_type
    d23a94a krun: create /dev/sev as part of the OCI configuration
    84092f6 handlers: add hook for exec
    83f3ab2 handlers: rename exec_func to run_func
    93a8e2f krun: always allow /dev/kvm
    675e87c handlers: update uses modify_oci_configuration
    1efd61a update: move json parsing to container
    c9b230a handlers: provide cleanup function
    bd22751 handlers: move cookie data under the same struct
    71bf884 handlers: add new hook to modify the OCI configuration
    b3e167d crun: set handler for all commands
    f0f7b8c handlers: initialize handler in the parent process
    cfec5ce NEWS: tag 1.8
    957796e libcrun: remove unused intprops.h
    8363deb linux: move PR_SET_DUMPABLE after userns creation
    83de960 dist: do not include binary tests
    188e0ce nix: add gcrypt dependency
    f7c715d nix: remove protobuf dependency
    765161c nix: refactor same command line
    98898d2 nix: update image to nixos/nix:2.12.0
    bcae634 Add support for ppc64le
    9b287dd README.md: add CodeQL badge
    ed7598d README.md: drop lgtm badges
    1a61b4d utils: shrink read buffer if necessary
    2a5cc1d nix: update packages
    7d9fa03 tests, centos8-build: add safe.directory /crun
    822ca4a utils: add utils to access /proc/$PID/fd/$FD paths
    0554b0a utils: change initial size for buffer
    742e8fc utils: reallocate only if needed
    4e379c6 cgroup: support cpuset mounted with noprefix
    58166e6 linux: set PR_SET_DUMPABLE
    908bfc4 linux: mount cgroup ro on /sys bind mount fallback
    cd1cf0b linux: add two new arguments to get_bind_mount
    b84bde9 linux: mount the source cgroup if cgroupns=host
    03d2969 linux: refactor out helper function
    75f5c1a linux: fix error message
    234d77c linux: precreate devices on the host
    f23cd15 utils: add functions to read overflow IDs
    85767be linux: remove duplicate slash
    1e29136 linux: generalize fsopen_mount
    a186e8a linux: add dirfd argument to get_bind_mount
    7e42a18 linux: add infra to send devices mounts
    a6c9453 linux: generalize receive_mounts
    b0fe2e4 linux: refactor code in a separate function
    05f1298 contrib, seccomp-notify-plugin: free args on error to prevent leak
    a34dd94 cri-o,test: skip failing test unrelated to crun
    78cf10f crun: fix clang format
    278b9b4 src/crun.c: fix build without dlfcn.h
    0ebf4e7 build(deps): bump uraimo/run-on-arch-action from 2.3.0 to 2.5.0
    4832ca4 Don't clone self from read-only mount
    9df7442 tests, wasmedge: copy libraries under /usr/lib64
    2044720 tests, wasmedge-build: install which
    6f0d03c tests, crio: skip checkpoint/restore tests
    d406a97 tests, centos9-build: add safe.directory /crun
    81b4ba0 tests, cri-o: add criu-libs rpm
    ca41c80 cloned_binary: use cleanup_close
    e1c3906 tests, cri-o: update go to 1.19
    a83001b cgroups v1: fix legacy mode mount.
    26fe138 utils: fix applying AppArmor profile
    1cfaf54 tests: disable some CRI-O failing tests
    5e3ef32 crun: write setgroups=deny when mapping a single uid/gid
    da84be0 github: fix cri-o CI on cgroupv2
    cdf7864 tests: disable test that requires io.bfq.weight
    c54fc6f github: fix running on cgroupv2
    0356bf4 NEWS: tag 1.7.2
    d389308 criu: hardcode to libcriu version 2
    3880f04 cgroup: always enable controller
    258c237 crun: fix compile time check for CRIU
    6ce11e8 copr: enable wasmedge on all active envs
    ada59b2 tests: fix podman tests
    d068462 NEWS: tag 1.7.1
    9893e99 utils: Improve debug message
    db08071 linux: include terminal \0 when copying mapping
    67f58c6 utils: fix creating default userns
    5689bd1 krun: disable libkrun's collection of env vars
    6b8da56 krun: copy the OCI configuration file
    92db973 configure.ac: do not link libcriu dynamically
    f6a5109 criu: add check at runtime for the version
    8c3fc12 criu: load libcriu dynamically
    b3189ef src: run make clang-format
    be6c22c fix timestamp format, tv_usec is microsecond not nanosecond
    ff95309 copr: enable wasmedge on epel9
    40f66c0 seccomp: initialize libgcrypt
    9bff00a Add setlinebuf() when --debug and --log=file: are used.
    cb6ae27 handlers: set selinux/apparmor profile
    0efbe56 utils: change AppArmor profile for the current proc
    f1f286a utils: change SELinux label for the current proc
    a1cd1a6 handlers: use only the handler name if needed

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:01 -05:00
classes containers: introduce container-host class 2023-02-17 15:21:53 -05:00
conf conf: add reference container multiconfig 2023-02-10 12:36:11 -05:00
docs podman: Add support for rootless mode 2022-07-15 17:11:58 -04:00
dynamic-layers xen: Make xilinx extension generic 2022-10-26 10:09:57 -04:00
files fs-perms-nagios.txt: add perms conf file 2018-09-06 12:45:17 -04:00
lib/oeqa/runtime/cases xtf: add testimage integration to run XTF test cases in OEQA 2021-09-02 16:36:23 -04:00
recipes-containers crun: update to v1.8.1 2023-03-08 17:08:01 -05:00
recipes-core busybox-initrd: update include 2023-01-31 22:50:41 -05:00
recipes-demo app-container: temporarily copy contens of .inc file to recipe 2022-09-12 16:45:26 -04:00
recipes-devtools yq: drop {LINKSHARED} 2023-03-08 17:07:00 -05:00
recipes-extended xen: force usage of gcc 2023-01-27 10:32:06 -05:00
recipes-graphics/xorg-xserver global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
recipes-kernel treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
recipes-networking treewide: bulk update patches with status field 2023-01-27 10:32:06 -05: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 xen-image-minimal: supply bootloader config for qemux86-64 machine 2021-09-02 16:36:23 -04:00
.gitignore xtf: add testimage integration to run XTF test cases in OEQA 2021-09-02 16:36:23 -04:00
COPYING.MIT Initial meta-xen layer documentation. 2012-06-21 15:51:11 -06:00
MAINTAINERS MAINTAINERS: add xtf and the raspberry pi dynamic layer for Xen 2021-12-16 21:45:00 -05:00
meta-virt-roadmap.txt docs: roadmap: add missing workflow items 2019-10-28 11:56:10 -04:00
README README: remove some cri-o specific layer dependencies 2023-02-17 15:34:51 -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)
  • seccomp: enable seccomp support for packages that have the capability.

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://git.yoctoproject.org/meta-selinux branch: master revision: HEAD prio: default

Community / Colaboration

Repository: https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/ Mailing list: https://lists.yoctoproject.org/g/meta-virtualization IRC: libera.chat #meta-virt channel

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.