app-emulation/docker: set journald build tag for read log support

This commit is contained in:
Nick Owens 2016-05-24 15:29:43 -07:00
parent 53d1cbd6fe
commit a839a4370e
2 changed files with 8 additions and 1 deletions

View File

@ -23,7 +23,8 @@ DESCRIPTION="Docker complements kernel namespacing with a high-level API which o
HOMEPAGE="https://dockerproject.org" HOMEPAGE="https://dockerproject.org"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
IUSE="apparmor aufs +btrfs contrib +device-mapper experimental +overlay seccomp +selinux vim-syntax zsh-completion" IUSE="apparmor aufs +btrfs contrib +device-mapper experimental +overlay seccomp
+selinux vim-syntax zsh-completion +journald"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies # https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
CDEPEND=" CDEPEND="
@ -34,6 +35,9 @@ CDEPEND="
seccomp? ( seccomp? (
>=sys-libs/libseccomp-2.2.1[static-libs] >=sys-libs/libseccomp-2.2.1[static-libs]
) )
journald? (
>=sys-apps/systemd-225
)
" "
#dev-go/go-md2man #dev-go/go-md2man
@ -228,6 +232,9 @@ src_compile() {
if use apparmor; then if use apparmor; then
DOCKER_BUILDTAGS+=' apparmor' DOCKER_BUILDTAGS+=' apparmor'
fi fi
if use journald; then
DOCKER_BUILDTAGS+=' journald'
fi
if has_version '<sys-fs/lvm2-2.02.110' ; then if has_version '<sys-fs/lvm2-2.02.110' ; then
# Docker uses the host files when testing features, so force # Docker uses the host files when testing features, so force