![]() To generate a proper systemd.service file we should use lxc's builtin configuration option for the initscript type. To support both sysvinit and systemd, we trigger off the DISTRO var and enable the proper init system accordingly. When properly configured, lxc will create helper scripts and install the service file, so we can delete the explicit copy of the service file and let the default rules trigger and install what is needed. The helper files installed by lxc require a lsb function that is not commonly available in the 'functions' library: "action". To ensure that the helper scripts operate, we create a local action() routine with the expected semantics. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> |
||
---|---|---|
conf | ||
docs | ||
files/custom-licenses | ||
recipes-containers | ||
recipes-core | ||
recipes-devtools | ||
recipes-extended | ||
recipes-kernel/linux | ||
recipes-networking/openvswitch | ||
.gitignore | ||
COPYING.MIT | ||
README |
meta-virtualization
This layer provides support for building Xen, KVM, Libvirt, and associated packages necessary for constructing OE-based virtualized solutions.
Dependencies
This layer depends on:
URI: git://github.com/openembedded/oe-core.git branch: master revision: HEAD prio: default
URI: git://github.com/openembedded/meta-oe.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
Maintenance
Send pull requests, patches, comments or questions to meta-virtualization@yoctoproject.org
Maintainers: Raymond Danks ray.danks@se-eng.com Bruce Ashfield bruce.ashfield@gmail.com
When sending single patches, please using something like: 'git send-email -1 --to meta-virtualization@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.