summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go/files/bsd_svid_source.patch
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2015-04-11 00:15:51 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-04-11 00:17:55 -0400
commit1365af123e45c8cc65b4206f9b5a6cca787438b6 (patch)
treef912fc8d92628e84359e9c49419f9a8afb3664fd /recipes-devtools/go/files/bsd_svid_source.patch
parent19ca5c408ad14bef81d3e785f0cb4a70e95db467 (diff)
downloadmeta-virtualization-1365af123e45c8cc65b4206f9b5a6cca787438b6.tar.gz
lxc: fix systemd init issues
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>
Diffstat (limited to 'recipes-devtools/go/files/bsd_svid_source.patch')
0 files changed, 0 insertions, 0 deletions