Skip to content
Snippets Groups Projects
Commit 9806c9f8 authored by Roland's avatar Roland Committed by GitHub
Browse files

Merge pull request #2 from Philhil/gluon-config-mode-zip

fix bugs in gluon-config-mode-zip
parents 5e5a5c75 39df0349
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,6 @@ define Build/Compile ...@@ -32,8 +32,6 @@ define Build/Compile
endef endef
define Package/gluon-config-mode-zip/install define Package/gluon-config-mode-zip/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/lib/gluon/respondd $(INSTALL_DIR) $(1)/lib/gluon/respondd
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/node-info-zip.so $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/node-info-zip.so
...@@ -41,9 +39,4 @@ define Package/gluon-config-mode-zip/install ...@@ -41,9 +39,4 @@ define Package/gluon-config-mode-zip/install
$(call GluonInstallI18N,gluon-config-mode-zip,$(1)) $(call GluonInstallI18N,gluon-config-mode-zip,$(1))
endef endef
define Package/gluon-config-mode-zip/postinst
#!/bin/sh
$(call GluonCheckSite,check_site.lua)
endef
$(eval $(call BuildPackage,gluon-config-mode-zip)) $(eval $(call BuildPackage,gluon-config-mode-zip))
...@@ -79,7 +79,7 @@ static struct json_object * get_location(struct uci_context *ctx, struct uci_pac ...@@ -79,7 +79,7 @@ static struct json_object * get_location(struct uci_context *ctx, struct uci_pac
return ret; return ret;
} }
static struct json_object * respondd_provider_nodeinfo-zip(void) { static struct json_object * respondd_provider_nodeinfo_zip(void) {
struct json_object *ret = json_object_new_object(); struct json_object *ret = json_object_new_object();
struct uci_context *ctx = uci_alloc_context(); struct uci_context *ctx = uci_alloc_context();
...@@ -99,6 +99,6 @@ static struct json_object * respondd_provider_nodeinfo-zip(void) { ...@@ -99,6 +99,6 @@ static struct json_object * respondd_provider_nodeinfo-zip(void) {
const struct respondd_provider_info respondd_providers[] = { const struct respondd_provider_info respondd_providers[] = {
{"nodeinfo-zip", respondd_provider_nodeinfo-zip}, {"nodeinfo-zip", respondd_provider_nodeinfo_zip},
{} {}
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment