mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-19 02:31:30 +01:00
-------------------------------------------------------------------------------
* 07c8a16 Before dectmngr2 does a fast exit (in case of an error), try to send a failure response to any ubus quierier (or might block in a timeout).
* c5619c2 - Only shuttdown ubus receiver if the radio is configured for auto off and is about to become off soon. - Comments
* a4898c8 - Extend timeout error message to ubus querier due to deleting a handset may be very slow sometimes. - When shutting down ubus receiver, also send an error to any active querier (to avoid blocking timeouts). - Only enable ubus receiver once if needed.
-------------------------------------------------------------------------------
commit 07c8a1665dc1f767c8ae2da92e41f482956f8959
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-28 15:43:12 +0200
Before dectmngr2 does a fast exit (in case of an error), try to send a
failure response to any ubus quierier (or might block in a timeout).
Base directory -> /
src/error.c | 5 +++++
src/ubus.c | 1 +
2 files changed, 6 insertions(+)
-------------------------------------------------------------------------------
commit c5619c257a199eb331f41798a01d5d608ce149b5
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-28 13:35:02 +0200
- Only shuttdown ubus receiver if the radio is configured for auto off and
is about to become off soon. - Comments
Base directory -> /
src/handset.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit a4898c88a49b94bccb5c9a60cab3f6bdff94cffc
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-28 13:33:08 +0200
- Extend timeout error message to ubus querier due to deleting a handset may
be very slow sometimes. - When shutting down ubus receiver, also send an
error to any active querier (to avoid blocking timeouts). - Only enable ubus
receiver once if needed.
Base directory -> /
src/ubus.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_RELEASE:=1
|
|
PKG_VERSION:=1.1.0
|
|
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=07c8a1665dc1f767c8ae2da92e41f482956f8959
|
|
PKG_NAME:=dectmngr2
|
|
|
|
|
|
RSTRIP:=true
|
|
export BUILD_DIR
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/dectmngr2
|
|
CATEGORY:=Utilities
|
|
TITLE:=Dectmngr2
|
|
URL:=
|
|
DEPENDS:= +natalie-dect-h bcmkernel +libubox +ubus
|
|
endef
|
|
|
|
define Package/dectmngr2/description
|
|
Dectmngr2
|
|
endef
|
|
|
|
|
|
define Package/dectmngr2/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_DIR) $(1)/etc/dect/
|
|
$(INSTALL_DIR) $(1)/etc/config/
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dectmngr2 $(1)/usr/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/target.bin $(1)/etc/dect/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/nvs_default $(1)/etc/dect/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dect $(1)/etc/init.d/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dectmngr-wrapper.sh $(1)/usr/sbin/
|
|
$(CP) ./files/dect.config $(1)/etc/config/dect
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,dectmngr2))
|