From 591faaae28c1c1cd1905ed9e3fc35349d0789d62 Mon Sep 17 00:00:00 2001 From: Ryan O'Hara Date: Tue, 12 Sep 2017 16:01:33 -0600 Subject: [PATCH] Add --with-init=systemd to avoid build problems in chroot --- keepalived.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keepalived.spec b/keepalived.spec index b01b217..95dd531 100644 --- a/keepalived.spec +++ b/keepalived.spec @@ -63,7 +63,8 @@ infrastructures. %{?with_profile:--enable-profile} \ %{!?with_vrrp:--disable-vrrp} \ %{?with_snmp:--enable-snmp --enable-snmp-rfc} \ - %{?with_sha1:--enable-sha1} + %{?with_sha1:--enable-sha1} \ + --with-init=systemd %{__make} %{?_smp_mflags} STRIP=/bin/true %install