Explorar o código

Introduce virtual packages for gluon-setup-mode and gluon-config-mode-core

This will require site.mk to explicitly pull in the gluon-setup-mode and
gluon-config-mode-core packages.
Matthias Schiffer %!s(int64=9) %!d(string=hai) anos
pai
achega
5aa6838828

+ 1 - 1
package/gluon-config-mode-autoupdater/Makefile

@@ -14,7 +14,7 @@ define Package/gluon-config-mode-autoupdater
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Let the user know whether the autoupdater is enabled or not.
-  DEPENDS:=+gluon-config-mode-core +gluon-autoupdater
+  DEPENDS:=gluon-config-mode-core-virtual +gluon-autoupdater
 endef
 
 define Package/gluon-config-mode-autoupdater/description

+ 1 - 1
package/gluon-config-mode-contact-info/Makefile

@@ -14,7 +14,7 @@ define Package/gluon-config-mode-contact-info
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Set a custom string that will be distributed in the mesh.
-  DEPENDS:=+gluon-config-mode-core +gluon-node-info
+  DEPENDS:=gluon-config-mode-core-virtual +gluon-node-info
 endef
 
 define Build/Prepare

+ 2 - 1
package/gluon-config-mode-core/Makefile

@@ -17,7 +17,8 @@ define Package/gluon-config-mode-core
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Luci based config mode for user friendly setup of new mesh nodes
-  DEPENDS:=+gluon-setup-mode +gluon-luci-theme +gluon-lock-password $(GLUON_I18N_PACKAGES)
+  DEPENDS:=gluon-setup-mode-virtual +gluon-luci-theme +gluon-lock-password $(GLUON_I18N_PACKAGES)
+  PROVIDES:=gluon-config-mode-core-virtual
 endef
 
 define Build/Prepare

+ 1 - 1
package/gluon-config-mode-geo-location/Makefile

@@ -14,7 +14,7 @@ define Package/gluon-config-mode-geo-location
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Set geographic location of a node
-  DEPENDS:=+gluon-config-mode-core +gluon-node-info
+  DEPENDS:=gluon-config-mode-core-virtual +gluon-node-info
 endef
 
 define Build/Prepare

+ 1 - 1
package/gluon-config-mode-hostname/Makefile

@@ -14,7 +14,7 @@ define Package/gluon-config-mode-hostname
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Set the hostname
-  DEPENDS:=+gluon-config-mode-core
+  DEPENDS:=gluon-config-mode-core-virtual
 endef
 
 define Build/Prepare

+ 1 - 1
package/gluon-config-mode-mesh-vpn/Makefile

@@ -14,7 +14,7 @@ define Package/gluon-config-mode-mesh-vpn
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Toggle mesh-vpn and bandwidth limit
-  DEPENDS:=+gluon-config-mode-core +gluon-mesh-vpn-fastd +gluon-simple-tc
+  DEPENDS:=gluon-config-mode-core-virtual +gluon-mesh-vpn-fastd +gluon-simple-tc
 endef
 
 define Build/Prepare

+ 1 - 1
package/gluon-luci-admin/Makefile

@@ -15,7 +15,7 @@ define Package/gluon-luci-admin
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Luci based simple administration interface for mesh nodes
-  DEPENDS:=+gluon-config-mode-core
+  DEPENDS:=gluon-config-mode-core-virtual
 endef
 
 define Package/gluon-luci-admin/description

+ 1 - 1
package/gluon-mesh-vpn-fastd/Makefile

@@ -11,7 +11,7 @@ define Package/gluon-mesh-vpn-fastd
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Support for connecting batman-adv meshes via fastd
-  DEPENDS:=+gluon-core +gluon-mesh-batman-adv +gluon-wan-dnsmasq +fastd +iptables-mod-extra
+  DEPENDS:=+gluon-core gluon-mesh-batman-adv +gluon-wan-dnsmasq +fastd +iptables-mod-extra
 endef
 
 define Package/gluon-mesh-vpn-fastd/description

+ 1 - 0
package/gluon-setup-mode/Makefile

@@ -15,6 +15,7 @@ define Package/gluon-setup-mode
   CATEGORY:=Gluon
   TITLE:=Setup mode
   DEPENDS:=+gluon-core +uhttpd +dnsmasq
+  PROVIDES:=gluon-setup-mode-virtual
 endef
 
 define Package/gluon-setup-mode/description