summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-11-04 13:24:34 +0100
committerFlorian Eckert <fe@dev.tdt.de>2019-11-04 13:44:02 +0100
commitbc98aaa3f711f1cd6f7fa3a65da43411c2db98aa (patch)
tree004d73f960b988c8334705fb4fc51ad7b461f786 /net
parent9d0439cc12d4766bf28d8e8d90e4d65130eac006 (diff)
keepalived: set default run directory for pid file on build
This fixes a runtime startup error on system which does not have a toplevel runtime directory for the pid file. On openwrt the pid is located at /var/run and not on /run. To fix that add a configure option to move the pid location to /var/run. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'net')
-rw-r--r--net/keepalived/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile
index cc77c6520..bac2c5943 100644
--- a/net/keepalived/Makefile
+++ b/net/keepalived/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=keepalived
PKG_VERSION:=2.0.19
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.keepalived.org/software
@@ -87,7 +87,8 @@ endef
CONFIGURE_ARGS+= \
--with-init=SYSV \
--disable-nftables \
- --disable-track-process
+ --disable-track-process \
+ --with-run-dir="/var/run"
ifeq ($(CONFIG_KEEPALIVED_VRRP),)
CONFIGURE_ARGS += \