summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-25 18:33:18 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-25 18:33:18 +0300
commiteec7bd73fcaefe878f2a346e17c5c04d79b7c8fd (patch)
tree12003d23dcede20c2209723bb88b2bf1ed765693 /app-emulation
parentacct-group/docker: initial commit (diff)
downloadgentoo-eec7bd73fcaefe878f2a346e17c5c04d79b7c8fd.tar.gz
gentoo-eec7bd73fcaefe878f2a346e17c5c04d79b7c8fd.tar.bz2
gentoo-eec7bd73fcaefe878f2a346e17c5c04d79b7c8fd.zip
app-emulation/docker: magrate to acct-group/docker
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/docker/docker-19.03.5.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/app-emulation/docker/docker-19.03.5.ebuild b/app-emulation/docker/docker-19.03.5.ebuild
index b38d5ab11efa..28e4d0899f01 100644
--- a/app-emulation/docker/docker-19.03.5.ebuild
+++ b/app-emulation/docker/docker-19.03.5.ebuild
@@ -18,7 +18,7 @@ else
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
inherit golang-vcs-snapshot
fi
-inherit bash-completion-r1 golang-base linux-info systemd udev user
+inherit bash-completion-r1 golang-base linux-info systemd udev
DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
HOMEPAGE="https://dockerproject.org"
@@ -28,6 +28,7 @@ IUSE="apparmor aufs btrfs +container-init device-mapper hardened +overlay seccom
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
COMMON_DEPEND="
+ acct-group/docker
>=dev-db/sqlite-3.7.9:3
device-mapper? (
>=sys-fs/lvm2-2.02.89[thin]
@@ -185,9 +186,6 @@ pkg_setup() {
fi
linux-info_pkg_setup
-
- # create docker group for the code checking for it in /etc/group
- enewgroup docker
}
src_compile() {
@@ -199,7 +197,7 @@ src_compile() {
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
# if we're building from a tarball, we need the GITCOMMIT value
- [ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
+ [[ ${DOCKER_GITCOMMIT} ]] && export DOCKER_GITCOMMIT
# fake golang layout
ln -s docker-ce/components/engine ../docker || die