mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: Optmize datamodel caching
This commit is contained in:
parent
1f94ad341b
commit
70c823e303
3 changed files with 9 additions and 2 deletions
|
|
@ -5,13 +5,13 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=obuspa
|
||||
PKG_VERSION:=9.0.0.20
|
||||
PKG_VERSION:=9.0.0.21
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/obuspa.git
|
||||
PKG_SOURCE_VERSION:=91f9882651de301153060dfe0784859d849aa809
|
||||
PKG_SOURCE_VERSION:=bdf6caa12df564e7c47ed115a0c1cbecb59bd310
|
||||
PKG_MAINTAINER:=Vivek Dutta <vivek.dutta@iopsys.eu>
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
|
@ -120,6 +120,7 @@ define Package/obuspa/install
|
|||
$(INSTALL_DATA) ./files/etc/config/obuspa $(1)/etc/config/
|
||||
$(INSTALL_DATA) ./files/etc/users/roles/*.json $(1)/etc/users/roles/
|
||||
$(INSTALL_DATA) ./files/etc/obuspa/usp_utils.sh $(1)/etc/obuspa/
|
||||
$(INSTALL_DATA) ./files/etc/obuspa/transient_dm.json $(1)/etc/obuspa/
|
||||
echo "$(CONFIG_BBF_VENDOR_PREFIX)" > $(1)/etc/obuspa/vendor_prefix
|
||||
$(INSTALL_BIN) ./files/etc/uci-defaults/01-fix-upgrade-uci $(1)/etc/uci-defaults/
|
||||
$(INSTALL_BIN) ./files/etc/uci-defaults/60-generate-ctrust-defaults $(1)/etc/uci-defaults/
|
||||
|
|
|
|||
|
|
@ -11,4 +11,5 @@ config obuspa 'global'
|
|||
#option trust_cert '/etc/obuspa/ca.pem'
|
||||
#option client_cert '/etc/obuspa/client.pem'
|
||||
#option log_dest '/tmp/obuspa.log'
|
||||
option dm_caching_exclude '/etc/obuspa/transient_dm.json'
|
||||
|
||||
|
|
|
|||
5
obuspa/files/etc/obuspa/transient_dm.json
Normal file
5
obuspa/files/etc/obuspa/transient_dm.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"dmcaching_exclude": [
|
||||
"Device.DeviceInfo.ProcessStatus.Process."
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue