Developing lightweight computation at the DSG edge

Commit 2b9aaba4 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-{system, tiny-node, small-node}] Fix libremap plugins

parent 64b75ec3
......@@ -25,11 +25,13 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
QMP_RELEASE?=r20161013-1
QMP_RELEASE?=r20170207-3
QMP_PKGRELEASE=r20170207-3
QMP_CODENAME?=testing
QMP_BUILDDATE:=$(shell date +%Y%m%d-%H%M)
PKG_NAME:=qmp-small-node
PKG_VERSION:=$(QMP_RELEASE)
PKG_VERSION:=$(QMP_RELEASE)-$(QMP_PKGRELEASE)
PKG_RELEASE:=$(QMP_CODENAME)
PGK_LICENSE:=GPL-2.0+
......@@ -47,7 +49,8 @@ define Package/qmp-small-node
+iputils-ping6 +mtr +netperf \
+munin-mesh +mini_snmpd +cgi-bin-zero +ipip +kmod-ipip +kmod-gre \
+libremap-agent +luci-lib-libremap-contact +luci-lib-libremap-wireless \
+luci +luci-lib-libremap-system +luci-lib-libremap-location +bmx6-mdns
+luci +luci-lib-libremap-system +luci-lib-libremap-location \
+luci-lib-libremap-bmx6 +luci-lib-libremap-qmp +bmx6-mdns
endef
define Package/qmp-small-node/description
......
......@@ -79,6 +79,11 @@ qmp_set_maps() {
qmp_uci_set_raw libremap.location.latitude="$lat"
qmp_uci_set_raw libremap.location.longitude="$lon"
qmp_uci_set_raw libremap.location.elev="$elev"
uci set libremap.qmp.enabled=1
uci set libremap.bmx6.enabled=1
uci set libremap.wireless.enabled=1
uci commit
}
}
}
......
......@@ -25,11 +25,13 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
QMP_RELEASE?=r20161013-1
QMP_RELEASE?=r20170207-3
QMP_PKGRELEASE=r20170207-3
QMP_CODENAME?=testing
QMP_BUILDDATE:=$(shell date +%Y%m%d-%H%M)
PKG_NAME:=qmp-tiny-node
PKG_VERSION:=$(QMP_RELEASE)
PKG_VERSION:=$(QMP_RELEASE)-$(QMP_PKGRELEASE)
PKG_RELEASE:=$(QMP_CODENAME)
PKG_LICENSE:=GPL-2.0+
......
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