docker fixes

This commit is contained in:
sulincix committed 2023-12-01 18:13:25 +00:00
1 parent 1c6ee4bbc8
commit bbda9c4237
2 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ depend() {
}
start_pre() {
checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE"
checkpath -f -m 0644 -o root:root "$DOCKER_LOGFILE"
}
reload() {
+3 -6
View File
@@ -54,7 +54,7 @@ build () {
mkdir -p "$_cli_builddir"/src/github.com/docker/
ln -sf "$_cli_builddir" "$_cli_builddir"/src/github.com/docker/cli
LDFLAGS="" make VERSION="$pkgver" dynbinary
}
package () {
@@ -75,12 +75,9 @@ package () {
"$_moby_builddir"/bundles/dynbinary-daemon/dockerd \
"$_moby_builddir"/bundles/dynbinary-daemon/docker-proxy
# service files from gentoo
# service files from gentoo
install -Dm755 docker.initd "$DESTDIR"/etc/init.d/docker
install -Dm644 docker.confd "$DESTDIR"/etc/conf.d/docker
# group definition
mkdir -p "$DESTDIR"/etc/group.d/
echo "docker:x:531:" > "$DESTDIR"/etc/group.d/docker
}