meta-virtualization/recipes-containers/oci-systemd-hook
Mark Asselstine c310d745c7 oci-systemd-hook: fixup patch context
commit 7394c154a9 [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>
2019-09-18 13:53:24 -04:00
..
oci-systemd-hook oci-systemd-hook: fixup patch context 2019-09-18 13:53:24 -04:00
oci-systemd-hook_git.bb containers: update oci-systemd-hook to 0.2.0 2019-07-12 14:50:34 +00:00