summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/lxc-helper-create-local-action-function.patch
Commit message (Collapse)AuthorAgeFilesLines
* lxc: upgrade to version 1.1.2Jim Somerville2015-07-141-38/+0
| | | | | | | | | | | | This version has better support for unprivileged containers. Two patches are deleted as they are now included. One new patch is introduced to fix a file not found error at the install build step. Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: fix systemd init issuesBruce Ashfield2015-04-111-0/+38
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>