Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH libubox] blobmsg_json: add new functions blobmsg_format_json_value*

2016-06-06 Thread Eyal Birger
On Sat, Jun 4, 2016 at 6:27 PM, Matthias Schiffer wrote: > On 06/03/2016 04:55 PM, Eyal Birger wrote: >> >> Hi, >> >>> On 3 Jun 2016, at 13:11, Matthias Schiffer >>> wrote: >>> >> (snip) >>> >>> 1) and 2) would allow blobmsg to store everything that json-c can (with the >>> caveat that json-c st

[OpenWrt-Devel] [PATCH v2 netifd 2/3] device: Fix dotted vlan interface staying down

2016-06-06 Thread Hans Dedecker
Using the config below a dotted vlan interface stays down as get_vlan_device does not find the device due to the aliased device stacked on top of the base device. As all devices; aliased devices being the exception; are in the device list use device_find to find the device when setting the link sta

[OpenWrt-Devel] [PATCH v2 netifd 3/3] system-linux: Replace device_get by device_find where appropriate

2016-06-06 Thread Hans Dedecker
Replace device_get by device_find so it's clear a device needs to be found present in the device list. Signed-off-by: Hans Dedecker --- v1 -> v2 : Remove extra white line in netifd_handle_set_state system-linux.c | 2 +- ubus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[OpenWrt-Devel] [PATCH v2 netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Hans Dedecker
As device name is used as key in avl list a device name change will break the avl find logic. Function device_set_ifname offers api to set the device name and re-inserts the avl node in the list when the avl key value is changed. Signed-off-by: Hans Dedecker --- v1 -> v2 : Fix debug print in de

[OpenWrt-Devel] [PATCH] rpcd: update to latest version with iwinfo fix

2016-06-06 Thread Denis Osvald
Signed-off-by: Denis Osvald --- package/system/rpcd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/system/rpcd/Makefile b/package/system/rpcd/Makefile index 86bd8c5..fdd9145 100644 --- a/package/system/rpcd/Makefile +++ b/package/system/rpcd/Makefile @@ -

Re: [OpenWrt-Devel] [PATCH netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Hans Dedecker
On Mon, Jun 6, 2016 at 12:38 PM, Eyal Birger wrote: > Hi Hans, > > On Mon, Jun 6, 2016 at 1:03 PM, Hans Dedecker wrote: >> As device name is used as key in avl list a device name change will break >> the avl find logic. >> Function device_set_ifname offers api to set the device name and re-inser

Re: [OpenWrt-Devel] [PATCH netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Eyal Birger
Hi Hans, On Mon, Jun 6, 2016 at 1:03 PM, Hans Dedecker wrote: > As device name is used as key in avl list a device name change will break the > avl find logic. > Function device_set_ifname offers api to set the device name and re-inserts > the avl node in the list > when the avl key value is ch

[OpenWrt-Devel] [PATCH netifd 3/3] system-linux: Replace device_get by device_find where appropriate

2016-06-06 Thread Hans Dedecker
Replace device_get by device_find so it's clear a device needs to be found present in the device list. Signed-off-by: Hans Dedecker --- system-linux.c | 2 +- ubus.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system-linux.c b/system-linux.c index 98acb9d..04

[OpenWrt-Devel] [PATCH netifd 2/3] device: Fix dotted vlan interface staying down

2016-06-06 Thread Hans Dedecker
Using the config below a dotted vlan interface stays down as get_vlan_device does not find the device due to the aliased device stacked on top of the base device. As all devices; aliased devices being the exception; are in the device list use device_find to find the device when setting the link sta

[OpenWrt-Devel] [PATCH netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Hans Dedecker
As device name is used as key in avl list a device name change will break the avl find logic. Function device_set_ifname offers api to set the device name and re-inserts the avl node in the list when the avl key value is changed. Signed-off-by: Hans Dedecker --- alias.c | 9 +++-- device

[OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-06 Thread Anton D . Kachalov
Hello. I'm trying to replace standard "lua" package with "luajit" from my repo:   https://github.com/ya-mouse/openbmc-packages First I've tried to name package as "luajit" and add CONFLICTS:=lua (version should be provided to conflict with) and PROVIDES:=lua variables like for RPM to make a re