diff --git a/package/gluon-node-info/Makefile b/package/gluon-node-info/Makefile index 59f60dfd..67856579 100644 --- a/package/gluon-node-info/Makefile +++ b/package/gluon-node-info/Makefile @@ -22,9 +22,14 @@ define Build/Prepare $(CP) ./src/* $(PKG_BUILD_DIR)/ endef +define Build/Compile + $(call Build/Compile/Default) + $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/) +endef + define Package/gluon-node-info/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/node-info.so endef diff --git a/package/gluon-node-info/files/lib/gluon/upgrade/500-node-info-system b/package/gluon-node-info/luasrc/lib/gluon/upgrade/500-node-info-system similarity index 100% rename from package/gluon-node-info/files/lib/gluon/upgrade/500-node-info-system rename to package/gluon-node-info/luasrc/lib/gluon/upgrade/500-node-info-system diff --git a/package/gluon-node-info/files/lib/gluon/upgrade/510-node-info-role b/package/gluon-node-info/luasrc/lib/gluon/upgrade/510-node-info-role similarity index 100% rename from package/gluon-node-info/files/lib/gluon/upgrade/510-node-info-role rename to package/gluon-node-info/luasrc/lib/gluon/upgrade/510-node-info-role diff --git a/package/gluon-node-info/files/lib/gluon/upgrade/520-node-info-whitespace-fix b/package/gluon-node-info/luasrc/lib/gluon/upgrade/520-node-info-whitespace-fix similarity index 100% rename from package/gluon-node-info/files/lib/gluon/upgrade/520-node-info-whitespace-fix rename to package/gluon-node-info/luasrc/lib/gluon/upgrade/520-node-info-whitespace-fix