Re: [OpenWrt-Devel] Jsonfilter, return partial subobject?

2020-04-23 Thread Michael Jones
On Thu, Apr 23, 2020 at 3:50 PM Jo-Philipp Wich wrote: > Hi, > > > [...] > > What I want to do is return a JSON string with this representation: > > [ > > { "interface" : "lan", "uptime" : 1 }, > > ... > > ] > > > > E.g., I want to filter the json not down to a single value, but to a

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: add package linkstation-poweroff driver

2020-04-23 Thread Philip Prindeville
> On Apr 23, 2020, at 3:07 AM, Daniel González Cabanelas > wrote: > > El jue., 23 abr. 2020 a las 10:41, Petr Štetiar () escribió: >> >> Daniel González Cabanelas [2020-04-22 23:41:56]: >> >> Hi, >> >>> This package adds the driver for implementing this function. >> >> I fail to see how i

Re: [OpenWrt-Devel] Jsonfilter, return partial subobject?

2020-04-23 Thread Jo-Philipp Wich
Hi, > [...] > What I want to do is return a JSON string with this representation: > [ >     { "interface" : "lan", "uptime" : 1 }, >     ... > ] > > E.g., I want to filter the json not down to a single value, but to a > collection of key-value pairs by excluding items that don't match. that

Re: [OpenWrt-Devel] Uncompress image: trailing garbage ignored

2020-04-23 Thread Hannu Nyman
W. Michael Petullo kirjoitti 23.4.2020 klo 19.50: I have started to notice a gunzip warning when decompressing the OpenWrt images I build. This is with master df27e949: gunzip openwrt/bin/targets/x86/64/openwrt-x86-64-generic-ext4- combined.img.gz -c >/dev/null gzip: openwrt-aquinas-git/bin/tar

Re: [OpenWrt-Devel] Jsonfilter, return partial subobject?

2020-04-23 Thread Michael Jones
On Thu, Apr 23, 2020 at 12:55 PM Michael Jones wrote: > I'm quite reluctant to do multiple processing sweeps. E.g. the following > (probably syntax-error-full, and erroneous output) shell script is > extremely unattractive > > json=`ubus call network.interface dump | jsonfilter -e '@.interface'`

[OpenWrt-Devel] Jsonfilter, return partial subobject?

2020-04-23 Thread Michael Jones
I'm trying to work with the jsonfilter program included in the jsonpath project from Jo-Philipp (https://git.openwrt.org/?p=project/jsonpath.gi t) Perhaps this is a failure on my part to understand the documentation provided by this refere

[OpenWrt-Devel] Uncompress image: trailing garbage ignored

2020-04-23 Thread W. Michael Petullo
I have started to notice a gunzip warning when decompressing the OpenWrt images I build. This is with master df27e949: gunzip openwrt/bin/targets/x86/64/openwrt-x86-64-generic-ext4- combined.img.gz -c >/dev/null gzip: openwrt-aquinas-git/bin/targets/x86/64/openwrt-x86-64-generic- ext4-combined.im

Re: [OpenWrt-Devel] [PATCH] arm-trusted-firmware-sunxi: bump to v2.3-rc1 and use atf-builds binaries

2020-04-23 Thread Zoltan HERPAI
Hi Petr, On 4/20/2020 16:29, Petr Štetiar wrote: Update ATF to latest v2.3-rc1 version and use reproducible bl31 binaries from atf-builds project. atf-builds project started recently offering reproducible ATF binaries which is more convenient then building very tiny ATF artifacts from scratch d

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: add package linkstation-poweroff driver

2020-04-23 Thread Daniel González Cabanelas
El jue., 23 abr. 2020 a las 10:41, Petr Štetiar () escribió: > > Daniel González Cabanelas [2020-04-22 23:41:56]: > > Hi, > > > This package adds the driver for implementing this function. > > I fail to see how is this driver OpenWrt specific, why the driver should be > maintained by OpenWrt. In o

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: add package linkstation-poweroff driver

2020-04-23 Thread Petr Štetiar
Daniel González Cabanelas [2020-04-22 23:41:56]: Hi, > This package adds the driver for implementing this function. I fail to see how is this driver OpenWrt specific, why the driver should be maintained by OpenWrt. In other words, please fix this upstream and then just backport the fixes here,

Re: [OpenWrt-Devel] [RFC 0/3] PoC for per-image package sets

2020-04-23 Thread Andre Valentin
Hi Bjoern, that looks very interesting. I do have the same problems here with initial images and made special .configs for that. Kind regards, André Am 22.04.20 um 22:58 schrieb Bjørn Mork: > These patches can also be found in a branch here: > https://github.com/bmork/openwrt/tree/image-packa