projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81af8d6
)
keepalived: fix build with IPVS disabled
author
Stijn Tintel
<
[email protected]
>
Wed, 22 Sep 2021 12:59:53 +0000
(15:59 +0300)
committer
Josef Schlehofer
<
[email protected]
>
Sat, 15 Oct 2022 12:23:39 +0000
(14:23 +0200)
The genhash binary is only built when IPVS is enabled, so make its
installation depend on IPVS being enabled.
Signed-off-by: Stijn Tintel <
[email protected]
>
(cherry picked from commit
624d2278e7e78fd568679ad3976a6cf35ae143d1
)
net/keepalived/Makefile
patch
|
blob
|
history
diff --git
a/net/keepalived/Makefile
b/net/keepalived/Makefile
index 73f16d7c7523045a87d10ded03295345b3de8ce3..3b8425c552302f784bdb1ff3437eb6ca4e815e20 100644
(file)
--- a/
net/keepalived/Makefile
+++ b/
net/keepalived/Makefile
@@
-203,9
+203,11
@@
define Package/keepalived/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/keepalived \
$(1)/usr/sbin/
+ifeq ($(CONFIG_KEEPALIVED_LVS),y)
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/genhash \
$(1)/usr/bin/
+endif
$(INSTALL_DIR) $(1)/etc/keepalived
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.conf \