Merge pull request #16687 from stintel/keepalived

keepalived: fix build with IPVS disabled
This commit is contained in:
Florian Eckert 2021-09-23 07:37:58 +02:00 committed by GitHub
commit a7f07a6321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -208,9 +208,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 \