diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2019-09-17 15:58:31 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-09-18 13:53:24 -0400 |
commit | c310d745c7506b55a711293d64960fb176fa5fca (patch) | |
tree | 63f5a6e3d7eb4bb353632fc6f3d397379dbe9755 /recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch | |
parent | ab382e2453d652181eb7a6fb4dcf201d4b33b94a (diff) | |
download | meta-virtualization-c310d745c7506b55a711293d64960fb176fa5fca.tar.gz |
oci-systemd-hook: fixup patch context
commit 7394c154a92f [containers: update oci-systemd-hook to 0.2.0]
incorrectly adjusted the context around the patch
0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch.
This resulted in containers failing with an error:
systemdhook <error>: Failed to mkdir new dest: /opt/container/cube-server/rootfs/sys/fs/cgroup/perf_event: No such file or directory
Unfortunately, the code was being patched in ahead of the mounting of
the tmpfs after the patch context was adjusted. You can even get a
hint of this in the comment "Systemd is already handled above". Here
we correct this by pushing the code down to the correct position in
the file/function, making the error go away and proper function
return.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch')
0 files changed, 0 insertions, 0 deletions