mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
d1fc3fc702
If the systemd development files are not present on the system which builds podman, then `podman events` will error on runtime creation. Beside this, a warning will be printed when compiling podman. This commit mainly exists because projects which depend on libpod would not need the podman event support and therefore do not need to rely on the systemd headers. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
5 lines
80 B
Bash
Executable file
5 lines
80 B
Bash
Executable file
#!/usr/bin/env bash
|
|
if pkg-config --exists libsystemd; then
|
|
echo systemd
|
|
fi
|