Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Felix Fietkau
On 2017-05-02 00:50, Roman Yeryomin wrote: > On 30 April 2017 at 12:46, Felix Fietkau wrote: >> On 2017-04-28 22:51, Roman Yeryomin wrote: >>> On 28 April 2017 at 20:12, Felix Fietkau wrote: On 2017-04-28 14:56, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin > --- > pack

Re: [LEDE-DEV] [PATCH] ar71xx: change image version for ubiquiti devices

2017-05-02 Thread txt.file
Not yet. Is now on my TODO for this week. txt.file Felix Fietkau: > On 2017-04-05 23:44, Matthias Fritzsche wrote: >> changes the image version from hardcoded OpenWrt to >> $VERSION_DIST. AirOS shows a notification with the image version >> during a firmware upgrade. >> >> fixes #582 >> >> Signed

Re: [LEDE-DEV] [PATCH ubox v2] Add template support to logread

2017-05-02 Thread Petr Štetiar
Henry Chang [2017-04-28 14:14:57]: > 1. logd is built-in logd is a built-in feature of ubox, and ubox is a heart > of OpenWrt/LEDE. If ubox can achieve all the use cases, we should simply > just use it. Use rsyslog instead will create additional footprint in terms > of resource while a lot of fea

[LEDE-DEV] [PATCH] linux-4.9: Fix building of DWC3 module

2017-05-02 Thread Alexey Brodkin
DWC3 driver uses of_usb_get_phy_mode() which is implemented in drivers/usb/phy/of.c and in bare minimal configuration it might not be pulled in kernel binary. In case of ARC or ARM this could be easily reproduced with "allnodefconfig" +CONFIG_USB=m +CONFIG_USB_DWC3=m. On building all ends-up with

Re: [LEDE-DEV] [PATCH] ar71xx: change image version for ubiquiti devices

2017-05-02 Thread Felix Fietkau
On 2017-05-02 10:18, txt.file wrote: > Felix Fietkau: >>> - -B $(UBNT_BOARD) -v >>> $(UBNT_TYPE).$(UBNT_CHIP).v6.0.0-OpenWrt-$(REVISION) \ >>> + -B $(UBNT_BOARD) -v >>> $(UBNT_TYPE).$(UBNT_CHIP).v0.0.0-$(VERSION_DIST)-$(REVISION) \ >> The Ubiquiti firmware web interface parses

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-02 Thread Jo-Philipp Wich
Hi Andrew, > When selecting package dnsmasq-full from make menuconfig I believe it > should deselect package dnsmasq. this is not easily solvable within the current Kconfig framework and most likely a "won't fix" item in the foreseeable future. ~ Jo _

Re: [LEDE-DEV] [PATCH] image.mk: Generate cpiogz with root-owned files

2017-05-02 Thread Jo-Philipp Wich
Hi Michal, can you send a v2 using "-R" instead of "--owner" ? This should make the change OS X compatible. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH v2] image.mk: Generate cpiogz with root-owned files

2017-05-02 Thread Michal Sojka
Some files (e.g. /etc/dropbear) need to be owned by root. Add cpio option to ensure that. Other image types (at least targz and squashfs) already have this. Signed-off-by: Michal Sojka --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/in

[LEDE-DEV] [PATCH] dnsmasq: add interface-name uci list.

2017-05-02 Thread Daniel Danzberger
This patch adds the interface-name option for each dhcp config in /etc/config/dhcp. With the interface_name option users can define a DNS name for each dhcp section that will be resolved by dnsmasq with the underlaying interface address. For example: -- config dhcp 'lan' option interface

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Roman Yeryomin
On 2 May 2017 at 10:25, Felix Fietkau wrote: > On 2017-05-02 00:50, Roman Yeryomin wrote: >> On 30 April 2017 at 12:46, Felix Fietkau wrote: >>> On 2017-04-28 22:51, Roman Yeryomin wrote: On 28 April 2017 at 20:12, Felix Fietkau wrote: > On 2017-04-28 14:56, Roman Yeryomin wrote: >>

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Felix Fietkau
On 2017-05-02 17:53, Roman Yeryomin wrote: > On 2 May 2017 at 10:25, Felix Fietkau wrote: >> board_name already exists, and I've already converted e.g. the lantiq >> target to use it directly from functions.sh. >> board_model is not used, neither is the model function from any of the >> messy copy

Re: [LEDE-DEV] [PATCH 5/7] firewall3: add UBUS support for ipset sections

2017-05-02 Thread Philip Prindeville
> On May 2, 2017, at 6:15 AM, Pierre Lebleu wrote: > > Hi Philip, > > 2017-04-29 3:11 GMT+02:00 Philip Prindeville > : > Inline… > > > [snip] > > + if (!(ipset = fw3_alloc_ipset(state))) > > > Minor nit… Assignments inside of conditionals are a bear to step through in > a deb

Re: [LEDE-DEV] [PATCH ubox v2] Add template support to logread

2017-05-02 Thread Henry Chang
Hi Petr, > From my point of view and experience, logd is good for simple use cases. For anything else I would recommend you to use syslogd from Busybox for example. The reason I chose to stay with logd is I wanna keep basing on ubus. > syslogd from Busybox handles log rotation very well, includi

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Roman Yeryomin
On 2 May 2017 at 19:18, Felix Fietkau wrote: > On 2017-05-02 17:53, Roman Yeryomin wrote: >> On 2 May 2017 at 10:25, Felix Fietkau wrote: >>> board_name already exists, and I've already converted e.g. the lantiq >>> target to use it directly from functions.sh. >>> board_model is not used, neither

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Felix Fietkau
On 2017-05-02 19:32, Roman Yeryomin wrote: > I just want to save maintenance time. As you admit it's already a > clutter. I'm trying to introduce some order. > Actually uci-defaults is another one which doesn't need 90% of > functions.sh (it only needs list_contains). > I would propose breaking dow

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-02 Thread Andrew McConachie
On 5/2/17 10:13, Jo-Philipp Wich wrote: Hi Andrew, When selecting package dnsmasq-full from make menuconfig I believe it should deselect package dnsmasq. this is not easily solvable within the current Kconfig framework and most likely a "won't fix" item in the foreseeable future. ~ Jo Hi

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Roman Yeryomin
On 2 May 2017 at 20:46, Felix Fietkau wrote: > On 2017-05-02 19:32, Roman Yeryomin wrote: >> I just want to save maintenance time. As you admit it's already a >> clutter. I'm trying to introduce some order. >> Actually uci-defaults is another one which doesn't need 90% of >> functions.sh (it only

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Felix Fietkau
On 2017-05-02 20:31, Roman Yeryomin wrote: > On 2 May 2017 at 20:46, Felix Fietkau wrote: >> On 2017-05-02 19:32, Roman Yeryomin wrote: >>> I just want to save maintenance time. As you admit it's already a >>> clutter. I'm trying to introduce some order. >>> Actually uci-defaults is another one wh

Re: [LEDE-DEV] [PATCH 5/7] firewall3: add UBUS support for ipset sections

2017-05-02 Thread Paul Oranje
Assignment within a condition is easily read by (dyslectic) humans as a test for equality (==) and is for that reason als better avoided. Paul > Op 2 mei 2017, om 18:43 heeft Philip Prindeville > het volgende geschreven: > > >> On May 2, 2017, at 6:15 AM, Pierre Lebleu wrote: >> >> Hi Phili

Re: [LEDE-DEV] [PATCH 5/7] firewall3: add UBUS support for ipset sections

2017-05-02 Thread Eric Luehrsen
On 05/02/2017 05:36 PM, Paul Oranje wrote: > Assignment within a condition is easily read by (dyslectic) humans as a test > for equality (==) and is for that reason als better avoided. > Paul > >> Op 2 mei 2017, om 18:43 heeft Philip Prindeville >> het volgende geschreven: >> >> >>> On May 2,

Re: [LEDE-DEV] dnsmasq-full should deselect dnsmasq

2017-05-02 Thread Eric Luehrsen
On 05/02/2017 02:22 PM, Andrew McConachie wrote: > > > On 5/2/17 10:13, Jo-Philipp Wich wrote: >> Hi Andrew, >> >>> When selecting package dnsmasq-full from make menuconfig I believe it >>> should deselect package dnsmasq. >> this is not easily solvable within the current Kconfig framework and >>