Rename /lib/gluon/respondd/ to /lib/respondd/
respondd is supposed to be non-Gluon-specific, thus having its data direectory in /lib/gluon/ doesn't make sense.
This commit is contained in:
parent
545930b0bb
commit
1df6daf083
@ -31,8 +31,8 @@ define Package/gluon-autoupdater/install
|
||||
$(CP) ./files/* $(1)/
|
||||
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/autoupdater.so
|
||||
$(INSTALL_DIR) $(1)/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/autoupdater.so
|
||||
|
||||
if [ '$(GLUON_BRANCH)' ]; then \
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/autoupdater; \
|
||||
|
@ -29,8 +29,8 @@ endef
|
||||
define Package/gluon-mesh-batman-adv-core/install
|
||||
$(CP) ./files/* $(1)/
|
||||
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-batman-adv-core.so
|
||||
$(INSTALL_DIR) $(1)/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/mesh-batman-adv-core.so
|
||||
endef
|
||||
|
||||
define Package/gluon-mesh-batman-adv-core/postinst
|
||||
|
@ -29,8 +29,8 @@ endef
|
||||
define Package/gluon-mesh-vpn-fastd/install
|
||||
$(CP) ./files/* $(1)/
|
||||
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-vpn-fastd.so
|
||||
$(INSTALL_DIR) $(1)/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/mesh-vpn-fastd.so
|
||||
endef
|
||||
|
||||
define Package/gluon-mesh-vpn-fastd/postinst
|
||||
|
@ -25,8 +25,8 @@ endef
|
||||
define Package/gluon-node-info/install
|
||||
$(CP) ./files/* $(1)/
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/node-info.so
|
||||
$(INSTALL_DIR) $(1)/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/node-info.so
|
||||
endef
|
||||
|
||||
define Package/gluon-node-info/postinst
|
||||
|
@ -28,8 +28,8 @@ endef
|
||||
define Package/gluon-respondd/install
|
||||
$(CP) ./files/* $(1)/
|
||||
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/respondd.so
|
||||
$(INSTALL_DIR) $(1)/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/respondd.so
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gluon-respondd))
|
||||
|
@ -32,6 +32,5 @@ uci:save('firewall')
|
||||
|
||||
uci:foreach('respondd', 'respondd', function(section)
|
||||
uci:set('respondd', section['.name'], 'iface_list_file', '/var/run/gluon-respondd.devs')
|
||||
uci:set('respondd', section['.name'], 'data_dir', '/lib/gluon/respondd/')
|
||||
end)
|
||||
uci:save('respondd')
|
||||
|
@ -32,8 +32,8 @@ define Package/gluon-status-page-api/install
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/neighbours-batadv $(1)/lib/gluon/status-page/providers/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/status-page-api.so
|
||||
$(INSTALL_DIR) $(1)/lib/respondd
|
||||
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/status-page-api.so
|
||||
|
||||
$(CP) ./files/* $(1)/
|
||||
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||||
|
Loading…
Reference in New Issue
Block a user