summaryrefslogtreecommitdiffstats
path: root/recipes-containers
Commit message (Collapse)AuthorAgeFilesLines
* lxc: create lxc cache directoryMark Asselstine2013-07-131-1/+17
| | | | | | | | | | Many LXC templates expect the cache directory to exist and use it without necessarily checking if it exists. Normally the Makefile would create this directory but since /var/cache is volatile we must use the volatile system to create this directory at boot, or when the package is installed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: use four fields for PACAKGECONFIG[] infoJoe Slater2013-05-241-2/+2
| | | | | | | | To be safe, we specifiy all four possible fields even if some trailing ones are null. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: specify distroJoe Slater2013-05-241-1/+5
| | | | | | | | Do not query the host to find out our distro. We specify the bitbake variable ${DISTRO} in order to get the desired runtime default config file. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc-clone: don't let LXC_PATH end in failureBogdan Purcareata2013-05-172-0/+30
| | | | | | | | | This patch has been included in the upstream repo as the first patch after LXC 0.9.0 release. Including it in meta-virtualization for proper functioning of the lxc-clone command. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc-busybox: check when bind-mounting host libdirsBogdan Purcareata2013-05-152-0/+45
| | | | | | | | | | | | The patch checks bind mounting lib directories when starting a busybox container on a 64bit platform. Some entries in the host filesystem are not present but the busybox template expects them to be there, and thus container start fails. Please see further details in added patch description. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers - lxc-template: enable chroot + chpasswd functionality for ↵Bogdan Purcareata2013-04-122-0/+71
| | | | | | | | | | | | | | Busybox hosts This patch enables installation of Buysbox containers on Busybox hosts. Please see patch message for detailed information. The patch has been submitted and accepted upstream by LXC maintainers. The functionality hasn't made it to LXC 0.9.0, but will (most probably) be included upstream in future releases of LXC. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: remove noldconfig.patch, since it is no longer usedBogdan Purcareata2013-04-121-29/+0
| | | | | | | Patch is no longer needed since the removal of LXC 0.8.0 recipe. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: remove 0.8.0 recipeBruce Ashfield2013-04-111-39/+0
| | | | | | | LXC 0.9.0 has been added, we no longer need the 0.8.0 recipe, since all functionality has been migrated Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Update LXC recipe to include config examples in main packageBogdan Purcareata2013-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | The patch configures the LXC recipe to include configuration examples or containers in the default package - lxc, not in the documentation one - lxc-doc. By default, bitbake will split a specific package into multiple sections, based on meaning - binaries, libraries, documentation, configs, etc. The sections will then be assembled into individual packages, such as e.g lxc, lxc-doc, lxc-dbg and so on. The packages are mutually exclusive with respect to the sections they contain. LXC installation provides several example configuration files for various usage scenarios. The twist is that LXC build scripts place these config examples in a relative path that is identified by bitbake as belonging to documentation. This patch places these configuration files in the main package, where they normally belong. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add disable udhcp patch to LXC recipeBogdan Purcareata2013-04-112-0/+25
| | | | | | | | | | | | | | | | | | | The provided patch makes a modification to the LXC busybox template (the template that creates a minimal container with Busybox). This type of container will start the udhcpc service - the DHCP client - on init. For an embedded Linux image, we might assume that the majority of containers will have manual / static networking configuration on start. Considering this, starting the udhcpc service by default is useless, since the service will then has to be killed. The containers that use DHCP for networking can start udhcpc after container boot, or alter the busybox template locally to do so by default. The patch deactivates the default start of the DHCP client on a Busybox container init. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add LXC 0.9.0 recipeBogdan Purcareata2013-04-111-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introducing the LXC 0.9.0 recipe. Maintainer log for intermediate versions since LXC 0.8.0. This only contains the major differences between versions. You may find the complete log on the SourceForge LXC devel mailing list [1]. 0.9.0.alpha1: - Introduction of the new liblxc API - Python bindings - New tools: - lxc-device - lxc-start-ephemeral - python version of lxc-ls - lxc.autodev support - oracle template - reworked lxc-attach - /etc/lxc/lxc.conf configuration - Switch to new docbook - A lot of other improvements, new features and bugfixes 0.9.0.alpha2: bug fix for issue with 0.9.0.alpha1 - no significant changes 0.9.0.alpha3: - Android support - New lua binding - User namespace support - Oracle template - Manpage updates - POSIX shell support for most scripts - Improved systemd support - Various API improvements - Logging improvements 0.9.0.rc1: - Addition of -P option to all executables (to specify lxcpath) - Rework of the cgroup handling code - Rework of lxc-attach for userns - Updates to the alpine, archlinux, opensuse, oracle and ubuntu templates. Removal of the lenny template. - Introduction of a new lxc.stopsignal option - Introduction of a new lxc.kmsg option - Various userns improvements - New --host option in lxc-ps - Introduction of a few examples lxc hooks - Support for nested containers in lxc-ls - Introduction of get_version in the C API. - And a variety of bugfixes 0.9.0: Feature changes include: - Support for ephemeral containers in lxc-clone - --clear-env/--keep-env support in lxc-attach - -n option to lxc-start-ephemeral Everything else is bugfixes on top of rc1. Tests done by maintainers: - Test build on my machine (up to date Ubuntu 13.04) - Test build on Launchpad (Ubuntu 12.04, 12.10 and 13.04) - Test build on an armhf board running Ubuntu 13.04 - Test build for Android cross-compiling on my laptop - Ran our test suite on the x86 binaries - Ran a quick test (start/stop/info/wait) on Android - Tested the API and tools on ARM - Rebuilt all my local templates (~20 containers) on a variety of architectures (i386, amd64, armel and armhf) [1] https://lists.sourceforge.net/lists/listinfo/lxc-develIntroducing the LXC 0.9.0 recipe. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added LxC recipe from meta-fsl-ppc, curtesy of Matthew McClintock, Stuart YoderDavid Nyström2012-12-072-0/+68
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added CRIU recipeDavid Nyström2012-12-072-0/+76
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added protobuf criu dependencyDavid Nyström2012-12-071-0/+18
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added protobuf-c criu dependencyDavid Nyström2012-12-072-0/+39
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>