Skip to content
Snippets Groups Projects
Commit cc1af68c authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Don't use site config in compile step

parent b562ad7b
No related branches found
No related tags found
No related merge requests found
...@@ -23,13 +23,14 @@ define Build/Configure ...@@ -23,13 +23,14 @@ define Build/Configure
endef endef
define Build/Compile define Build/Compile
$(GLUON_CONFIGURE) invariant.pl > $(PKG_BUILD_DIR)/invariant.sh
endef endef
define Package/gluon-autoupdater/install define Package/gluon-autoupdater/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/lib/gluon/upgrade/autoupdater/invariant $(INSTALL_DIR) $(1)/lib/gluon/upgrade/autoupdater/invariant
$(INSTALL_BIN) $(PKG_BUILD_DIR)/invariant.sh $(1)/lib/gluon/upgrade/autoupdater/invariant/010-autoupdater $(GLUON_CONFIGURE) invariant.pl > $(1)/lib/gluon/upgrade/autoupdater/invariant/010-autoupdater
chmod +x $(1)/lib/gluon/upgrade/autoupdater/invariant/010-autoupdater
endef endef
$(eval $(call BuildPackage,gluon-autoupdater)) $(eval $(call BuildPackage,gluon-autoupdater))
...@@ -27,14 +27,14 @@ define Build/Configure ...@@ -27,14 +27,14 @@ define Build/Configure
endef endef
define Build/Compile define Build/Compile
$(GLUON_CONFIGURE) fastd.pl > $(PKG_BUILD_DIR)/fastd.sh
endef endef
define Package/gluon-mesh-vpn-fastd/install define Package/gluon-mesh-vpn-fastd/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant $(INSTALL_DIR) $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fastd.sh $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-mesh-vpn-fastd $(GLUON_CONFIGURE) fastd.pl > $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-mesh-vpn-fastd
chmod +x $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-mesh-vpn-fastd
endef endef
$(eval $(call BuildPackage,gluon-mesh-vpn-fastd)) $(eval $(call BuildPackage,gluon-mesh-vpn-fastd))
...@@ -27,13 +27,14 @@ define Build/Configure ...@@ -27,13 +27,14 @@ define Build/Configure
endef endef
define Build/Compile define Build/Compile
$(GLUON_CONFIGURE) invariant.pl > $(PKG_BUILD_DIR)/invariant.sh
endef endef
define Package/gluon-simple-tc/install define Package/gluon-simple-tc/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/lib/gluon/upgrade/simple-tc/invariant $(INSTALL_DIR) $(1)/lib/gluon/upgrade/simple-tc/invariant
$(INSTALL_BIN) $(PKG_BUILD_DIR)/invariant.sh $(1)/lib/gluon/upgrade/simple-tc/invariant/010-site-defaults $(GLUON_CONFIGURE) invariant.pl > $(1)/lib/gluon/upgrade/simple-tc/invariant/010-site-defaults
chmod +x $(1)/lib/gluon/upgrade/simple-tc/invariant/010-site-defaults
endef endef
$(eval $(call BuildPackage,gluon-simple-tc)) $(eval $(call BuildPackage,gluon-simple-tc))
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