aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch
AgeCommit message (Collapse)Author
2019-09-18oci-systemd-hook: fixup patch contextMark Asselstine
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>
2019-07-12containers: update oci-systemd-hook to 0.2.0Bruce Ashfield
Updating to the latest oci-systemd-hook version. We also refresh the patches, specifically the selinux patch, for the updated context. The additional cgroups mount patch needed to be tweaks for new required parameters, but is otherwise unchanged. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2017-11-14oci-systemd-hook: Always pass through all the cgroup mountsJason Wessel
If the root name space has additional cgroup mounts, pass them to the container. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>