diff options
author | Chandan Kumar (raukadah) <raukadah@gmail.com> | 2019-12-16 16:12:14 +0530 |
---|---|---|
committer | Chandan Kumar (raukadah) <raukadah@gmail.com> | 2019-12-16 20:37:15 +0530 |
commit | b54c350a0771579444bccbc0dc7795d0bd176413 (patch) | |
tree | 5cac22ca4d0ff325662a7713381c187a7c00ae4d /contrib | |
parent | 6c7b6d994acddee0d50cec9bbe45fb4cb720a08d (diff) | |
download | podman-b54c350a0771579444bccbc0dc7795d0bd176413.tar.gz podman-b54c350a0771579444bccbc0dc7795d0bd176413.tar.bz2 podman-b54c350a0771579444bccbc0dc7795d0bd176413.zip |
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>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/build_rpm.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/build_rpm.sh b/contrib/build_rpm.sh index e41763fa7..088d8b7a5 100755 --- a/contrib/build_rpm.sh +++ b/contrib/build_rpm.sh @@ -26,6 +26,7 @@ declare -a PKGS=(device-mapper-devel \ make \ rpm-build \ go-compilers-golang-compiler \ + systemd-devel \ ) if [[ $pkg_manager == *dnf ]]; then |