mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
sshmngr: fix makefile
update install section to install files to correct paths
This commit is contained in:
parent
ebba65c729
commit
cebc62066b
1 changed files with 13 additions and 5 deletions
|
|
@ -49,14 +49,22 @@ endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define Package/sshmngr/install
|
define Package/sshmngr/install
|
||||||
$(INSTALL_DIR) $(1)/etc/sshmngr
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
$(CP) ./files/common/* $(1)/
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
|
$(INSTALL_DIR) $(1)/lib/sshmngr
|
||||||
|
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
||||||
|
|
||||||
|
$(INSTALL_DATA) ./files/common/etc/config/sshmngr $(1)/etc/config/
|
||||||
|
$(INSTALL_DATA) ./files/common/etc/init.d/sshmngr $(1)/etc/init.d/
|
||||||
|
$(INSTALL_DATA) ./files/common/lib/sshmngr/sshmngr.sh $(1)/lib/sshmngr/
|
||||||
|
$(INSTALL_BIN) ./files/common/usr/libexec/rpcd/sshmngr $(1)/usr/libexec/rpcd/
|
||||||
ifeq ($(CONFIG_SSHMNGR_BACKEND_DROPBEAR),y)
|
ifeq ($(CONFIG_SSHMNGR_BACKEND_DROPBEAR),y)
|
||||||
$(CP) ./files/dropbear_backend/* $(1)/
|
$(INSTALL_DATA) ./files/dropbear_backend/lib/sshmngr/backend.sh $(1)/lib/sshmngr/
|
||||||
else
|
else
|
||||||
$(CP) ./files/openssh_backend/* $(1)/
|
$(INSTALL_DATA) ./files/openssh_backend/lib/sshmngr/backend.sh $(1)/lib/sshmngr/
|
||||||
endif
|
endif
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/libsshmngr.so $(1)/etc/sshmngr
|
$(call BbfdmInstallPluginInMicroservice, $(1)/etc/sshmngr,$(PKG_BUILD_DIR)/src/libsshmngr.so)
|
||||||
|
$(call BbfdmInstallMicroServiceInputFile,$(1),./files/common/etc/sshmngr/input.json)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,sshmngr))
|
$(eval $(call BuildPackage,sshmngr))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue