"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "hack/dind" between
moby-20.10.6.tar.gz and moby-20.10.7.tar.gz

About: Moby is a framework to assemble specialized container systems (formerly project name Docker; see here to clarify the relationship between the projects).

dind  (moby-20.10.6):dind  (moby-20.10.7)
skipping to change at line 30 skipping to change at line 30
} }
fi fi
# Mount /tmp (conditionally) # Mount /tmp (conditionally)
if ! mountpoint -q /tmp; then if ! mountpoint -q /tmp; then
mount -t tmpfs none /tmp mount -t tmpfs none /tmp
fi fi
# cgroup v2: enable nesting # cgroup v2: enable nesting
if [ -f /sys/fs/cgroup/cgroup.controllers ]; then if [ -f /sys/fs/cgroup/cgroup.controllers ]; then
# move the init process (PID 1) from the root group to the /init group, # move the processes from the root group to the /init group,
# otherwise writing subtree_control fails with EBUSY. # otherwise writing subtree_control fails with EBUSY.
# An error during moving non-existent process (i.e., "cat") is ignored.
mkdir -p /sys/fs/cgroup/init mkdir -p /sys/fs/cgroup/init
echo 1 > /sys/fs/cgroup/init/cgroup.procs xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.pro cs || :
# enable controllers # enable controllers
sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \ sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \
> /sys/fs/cgroup/cgroup.subtree_control > /sys/fs/cgroup/cgroup.subtree_control
fi fi
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
exec "$@" exec "$@"
fi fi
echo >&2 'ERROR: No command specified.' echo >&2 'ERROR: No command specified.'
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)