Skip to content

Commit

Permalink
moby: Remove unneeded systemd cgroup mount
Browse files Browse the repository at this point in the history
  • Loading branch information
tsndqst committed Jan 15, 2025
1 parent 061fa23 commit cecdd4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions srcpkgs/moby/files/docker/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
exec 2>&1
[ -r conf ] && . ./conf
modprobe -q loop || exit 1
mountpoint -q /sys/fs/cgroup/systemd || {
mkdir -p /sys/fs/cgroup/systemd;
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd;
}
exec chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1
3 changes: 2 additions & 1 deletion srcpkgs/moby/template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# should be kept in sync with docker-cli
pkgname=moby
version=27.5.0
revision=1
revision=2
# libnetwork commit is mentioned in vendor.conf
_libnetwork_commit=05b93e0d3a95952f70c113b0bc5bdb538d7afdd7
create_wrksrc=yes
Expand All @@ -21,6 +21,7 @@ distfiles="https://github.com/moby/moby/archive/v${version}.tar.gz>moby-$version
checksum="f24e988f7b061ae25146f3be9fcdcab54f2e2bd820acc95dfbb29ce43ef47811
5c5e3aa7599e85036438a65016796aa11df4afb44d13b5927dcfb0ec5947a86b"
system_groups="docker"
make_check=no # Tests require 600 Go pacakges

_moby_builddir="moby-$version"
_libnetwork_builddir="libnetwork-$_libnetwork_commit"
Expand Down

0 comments on commit cecdd4f

Please sign in to comment.