Developing lightweight computation at the DSG edge

Commit 56930de1 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

qMp 3.1 Mistela

Move non-essential packages and dependencies from qmp-tiny-node to qmp-small-node to save space for 4 MB flash devices
Update qmp-system and qmp-*-node dependencies
parent 3bf3941c
......@@ -26,7 +26,10 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=qmp-big-node
PKG_RELEASE:=2
PKG_VERSION:=3.1
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0+
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
......@@ -34,20 +37,27 @@ include $(INCLUDE_DIR)/package.mk
define Package/qmp-big-node
SECTION:=net
CATEGORY:=qMp
TITLE:=Addons for big qMp mesh node (8MByte flash or more)
TITLE:=Metapackage for installing extra addons for big qMp nodes (8 MB flash or more)
URL:=http://qmp.cat
DEPENDS:= \
+qmp-small-node \
DEPENDS:= +qmp-small-node \
+qmp-tinyproxy +tinymce \
+openssl-util +luci-ssl \
+lsof \
+wget +bmon +bwm +ebtables +pv \
+ndisc6 +rdisc6 \
+ipv6calc
+lsof +wget +bmon +bwm +ebtables +pv \
+ndisc6 +rdisc6 +ipv6calc
endef
define Package/qmp-big-node/description
Addons for big qmp nodes (8MByte flash or more)
This metapackage installs the extra addon packages for big qMp nodes:
- BMX6 routing protocol
- Luci web interface (HTTP/HTTPS)
- qMp system configuration files
- IP/TCP utils
- b6m and libremap
- SNMP and Munin
- IP over IP support
- Tinyproxy
It is intended to be used on devices with 8 MB of flash or more.
endef
define Build/Prepare
......
......@@ -26,7 +26,10 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=qmp-small-node
PKG_VERSION:=3.1
PKG_RELEASE:=1
PGK_LICENSE:=GPL-2.0+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
......@@ -34,22 +37,29 @@ include $(INCLUDE_DIR)/package.mk
define Package/qmp-small-node
SECTION:=net
CATEGORY:=qMp
TITLE:=Required addons for small qMp mesh node
TITLE:=Metapackage for setting up a small qMp node (8 MB flash or more)
URL:=http://qmp.cat
DEPENDS:= \
+qmp-tiny-node \
+iputils-arping +iputils-clockdiff +tcpdump-mini \
+cgi-bin-zero +mtr +netperf \
+kmod-ipip +kmod-gre \
+b6m +b6m-spread \
+munin-mesh +mini-snmpd
DEPENDS:= +qmp-tiny-node \
+iputils-arping +iputils-clockdiff +tcpdump-mini +b6m +b6m-spread \
+munin-mesh +mini-snmpd +cgi-bin-zero +kmod-ipip +kmod-gre \
+libremap-agent +luci-lib-libremap-contact +luci-lib-libremap-wireless \
+luci-lib-libremap-system +luci-lib-libremap-location
endef
define Package/qmp-small-node/description
Addons for small qmp nodes (4MByte flash)
This metapackage installs the packages required for setting up a typical qMp node:
- BMX6 routing protocol
- Luci web interface
- qMp system configuration files
- IP/TCP utils
- b6m and libremap
- SNMP and Munin
- IP over IP support
It is intended to be used on devices with 8 MB of flash or more.
endef
define Build/Configure
endef
......
......@@ -26,9 +26,13 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=qmp-system
PKG_RELEASE:=2
PKG_VERSION:=3.1
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
QMP_CODENAME:testing
QMP_CODENAME:=Mistela
QMP_RELEASE:=testing
QMP_BUILDDATE:=$(shell date +%Y%m%d_%H%M)
......@@ -39,11 +43,11 @@ define Package/qmp-system
SECTION:=net
CATEGORY:=qMp
URL:=http://qmp.cat
DEPENDS:=+luci-lib-core +luci-lib-nixio +luci-lib-sys +luci-lib-web +libiwinfo-lua
DEPENDS:=+libuci-lua +lua +libiwinfo-lua +wpad-mini
endef
define Package/qmp-system/description
System files for qMp node
System files required for configuring a qMp node
endef
define Build/Prepare
......
......@@ -4,7 +4,7 @@ cat /etc/qmp/qmp.banner >> /etc/banner
echo " ---------------------------------------------------" >> /etc/banner
echo " $COD ($REL, $BRANCH rev.$REV-$DATE)" >> /etc/banner
echo " ---------------------------------------------------" >> /etc/banner
echo " * Recipe: http://en.wikipedia.org/wiki/Kalimotxo" >> /etc/banner
echo " * Recipe: http://ca.wikipedia.org/wiki/Mistela" >> /etc/banner
echo "" >> /etc/banner
echo " http://qmp.cat/projects/qmp/repository/show?branch=$BRANCH&rev=$REV" >> /etc/banner
echo " ---------------------------------------------------" >> /etc/banner
......
......@@ -26,7 +26,10 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=qmp-tiny-node
PKG_RELEASE:=2
PKG_VERSION:=3.1
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
......@@ -34,23 +37,22 @@ include $(INCLUDE_DIR)/package.mk
define Package/qmp-tiny-node
SECTION:=net
CATEGORY:=qMp
TITLE:=Basic addons for default qMp node
TITLE:=Metapackage for setting up a minimal qMp node (4 MB flash)
URL:=http://qmp.cat
DEPENDS:= \
+qmp-system \
+uhttpd +iwinfo \
+luci-app-bmx6 +luci-mod-admin-full +luci-i18n-english \
+radvd +wpad-mini +iw \
+bmx6 +bmx6-uci-config +bmx6-json +bmx6-sms +bmx6-mdns \
+gwck-qmp +luci-theme-qmp \
+libremap-agent +luci-lib-libremap-contact +luci-lib-libremap-wireless \
+luci-lib-libremap-system +luci-lib-libremap-location \
+ip +iputils-ping6
DEPENDS:= +qmp-system \
+bmx6 +bmx6-uci-config +bmx6-json +bmx6-sms +bmx6-mdns +luci-app-bmx6 +gwck-qmp \
+ip +iw +iwinfo \
+iputils-ping6 +netperf +mtr \
+luci +luci-i18n-english
endef
define Package/qmp-tiny-node/description
Required addons for qMp node (only needed and basic stuff)
This metapackage installs the packages required for setting up a minimal qMp node:
- BMX6 routing protocol
- Luci web interface
- qMp system configuration files
It is intended to be used on devices with 4 MB of flash.
endef
define Build/Prepare
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment