mirror of https://github.com/containers/podman.git
add systemd build tag to podman builds
Without the systemd build tag, podman will fail with the error "No support for journald logging". This commit adds the `systemd` build tag explicitly, rather than relying on `hack/systemd_tag.sh` (because we're building an rpm and we've explicitly included systemd-devel as a dependency). Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
This commit is contained in:
parent
9c7410d331
commit
2753df2973
|
@ -392,7 +392,7 @@ popd
|
|||
ln -s vendor src
|
||||
export GO111MODULE=off
|
||||
export GOPATH=$(pwd)/_build:$(pwd):$(pwd):%{gopath}
|
||||
export BUILDTAGS="varlink selinux seccomp $(%{hackdir}/hack/btrfs_installed_tag.sh) $(%{hackdir}/hack/btrfs_tag.sh) $(%{hackdir}/hack/libdm_tag.sh) exclude_graphdriver_devicemapper"
|
||||
export BUILDTAGS="varlink selinux seccomp systemd $(%{hackdir}/hack/btrfs_installed_tag.sh) $(%{hackdir}/hack/btrfs_tag.sh) $(%{hackdir}/hack/libdm_tag.sh) exclude_graphdriver_devicemapper"
|
||||
|
||||
GOPATH=$GOPATH go generate ./cmd/podman/varlink/...
|
||||
|
||||
|
@ -410,7 +410,7 @@ mkdir -p src/%{provider}.%{provider_tld}/{containers,opencontainers}
|
|||
ln -s $(dirs +1 -l) src/%{import_path_conmon}
|
||||
popd
|
||||
|
||||
export BUILDTAGS="selinux seccomp $(%{hackdir}/hack/btrfs_installed_tag.sh) $(%{hackdir}/hack/btrfs_tag.sh)"
|
||||
export BUILDTAGS="selinux seccomp systemd $(%{hackdir}/hack/btrfs_installed_tag.sh) $(%{hackdir}/hack/btrfs_tag.sh)"
|
||||
BUILDTAGS=$BUILDTAGS make
|
||||
popd
|
||||
|
||||
|
|
Loading…
Reference in New Issue