mirror of
https://github.com/containers/podman.git
synced 2025-10-25 10:16:43 +08:00
Use systemd/sd-daemon.h headers for systemd presence
Finding systemd devel packages using libsystemd does not work as in RHEL based distro the package name is systemd-devel and for deb/ubunutu it is libsystemd. It is also giving false result when podman rpm is built with systemd but hack/systemd_tag.sh does not return anything. Install systemd-devel package in build_rpm.sh script Moving to systemd/sd-daemon.h header files which comes from devel packages fixes the issue. Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -45,7 +45,7 @@ endif
|
||||
ifeq (,$(findstring systemd,$(BUILDTAGS)))
|
||||
$(warning \
|
||||
Podman is being compiled without the systemd build tag.\
|
||||
Install libsystemd for journald support)
|
||||
Install libsystemd on Ubuntu or systemd-devel on rpm based distro for journald support)
|
||||
endif
|
||||
|
||||
BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay
|
||||
|
||||
Reference in New Issue
Block a user