mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 16:01:09 +02:00
app-emulation/docker: set journald build tag for read log support
This commit is contained in:
parent
53d1cbd6fe
commit
a839a4370e
@ -23,7 +23,8 @@ DESCRIPTION="Docker complements kernel namespacing with a high-level API which o
|
||||
HOMEPAGE="https://dockerproject.org"
|
||||
LICENSE="Apache-2.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
|
||||
CDEPEND="
|
||||
@ -34,6 +35,9 @@ CDEPEND="
|
||||
seccomp? (
|
||||
>=sys-libs/libseccomp-2.2.1[static-libs]
|
||||
)
|
||||
journald? (
|
||||
>=sys-apps/systemd-225
|
||||
)
|
||||
"
|
||||
|
||||
#dev-go/go-md2man
|
||||
@ -228,6 +232,9 @@ src_compile() {
|
||||
if use apparmor; then
|
||||
DOCKER_BUILDTAGS+=' apparmor'
|
||||
fi
|
||||
if use journald; then
|
||||
DOCKER_BUILDTAGS+=' journald'
|
||||
fi
|
||||
|
||||
if has_version '<sys-fs/lvm2-2.02.110' ; then
|
||||
# Docker uses the host files when testing features, so force
|
||||
|
Loading…
x
Reference in New Issue
Block a user