[LEDE-DEV] [PATCH] base-files: uci-defaults: do config flush in one shot

2017-12-01 Thread Roman Yeryomin
Moving a file between tmpfs and other fs is neither faster nor safer, thus no point in doing it in two steps. Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/functions/uci-defaults.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/base-files/files/li

[LEDE-DEV] [PATCH v2] base-files: expand ucidef_set_interface_raw to allow custom configuration

2017-12-01 Thread Roman Yeryomin
This allows custom config generation. E.g. setting lan adrress from eeprom or random address (so that routers can be chained by default) or configuring a fully custom interface. Changes from v1: - fix protocol option name for users Signed-off-by: Roman Yeryomin --- .../base-files/files/lib/func

[LEDE-DEV] [PATCH] packages: dnsmasq: remove unused stamp file

2017-12-01 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/network/services/dnsmasq/files/dnsmasq.init | 4 1 file changed, 4 deletions(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 2fd56ed4ab..8c40f3b59a 100644 --- a/package

[LEDE-DEV] [PATCH v2] apm821xx: use x86's upgrade scripts for MyBook Live

2017-12-01 Thread Christian Lamparter
Advantages: - preserves existing partition layout. On the hard-drive. Only the boot and rootfs partition will be overwritten. Disadvantages: - The upgrade process takes much longer to run. from 2-3 seconds to 15-25 seconds. Please note that sysupgrade will refuse to upgrade, if the existi

[LEDE-DEV] [PATCH] layerscape: rename firmware packages to avoid name collisions

2017-12-01 Thread Ted Hess
layerscape firmware package names collide with existing package contributions. Ex: layerscape mc and midnight-commander(mc) are in conflict. Firmware packages: mc, ppa, rcw and dpl are renamed to ls-mc, ls-ppa, ls-rcw and ls-dpl respectively. Signed-off-by: Ted Hess --- package/firmware/layersc

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Daniel Golle
On Wed, Nov 29, 2017 at 09:33:39AM +0100, Mathias Kresin wrote: > 28.11.2017 19:24, Daniel Golle: > > Hi Moritz, > > > > thanks for stepping forward and adressing this issue. > > It'd be good to include the two assertions added to your list beelow. > > > > On Tue, Nov 28, 2017 at 07:05:23PM +0100

[LEDE-DEV] [PATCH] kernel: bump 4.4 to 4.4.103 for 17.01

2017-12-01 Thread Etienne Haarsma
Refreshed all patches. Removed upstream ramips patches: 0101-MIPS-ralink-Fix-MT7628-pinmux.patch 0102--MIPS-ralink-Fix-typo-in-mt7628-pinmux-function.patch Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma --- include/kernel-version.mk | 4 +--

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Mathias Kresin
Hey Piotr , thanks a lot for thinking about my proposal. 2017-12-01 14:30 GMT+01:00 Piotr Dymacz : > On 29.11.2017 09:33, Mathias Kresin wrote: >> 1. fix the compatible strings in the DTS files > > I think we should start at the same time upstreaming vendor prefixes to [1], > to avoid possible in

Re: [LEDE-DEV] Trouble with dnsmasq

2017-12-01 Thread e9hack
Am 01.12.2017 um 09:14 schrieb Hans Dedecker: > On Thu, Nov 30, 2017 at 8:28 PM, e9hack wrote: >> It comes from odhcpd6. It calls very often dhcpv6.script which generates an >> action ifupdate for interface wan_6. > You can avoid the dnsmasq restarts by setting ignore to 1 for the > wan_6 interfa

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Jo-Philipp Wich
Hi, > I still have here some concerns/thoughts: > > 1. I don't know how to deal in above approach with region variant images > but I'm sure we should _somehow_ separate region code from boardname and > other parts of the image filename. IMHO, dash character won't work here. > > 2. We have some b

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Piotr Dymacz
Hello Mathias, On 29.11.2017 09:33, Mathias Kresin wrote: 28.11.2017 19:24, Daniel Golle: Hi Moritz, thanks for stepping forward and adressing this issue. It'd be good to include the two assertions added to your list beelow. On Tue, Nov 28, 2017 at 07:05:23PM +0100, Moritz Warning wrote: Hi,

Re: [LEDE-DEV] fixing of image file names

2017-12-01 Thread Mathias Kresin
30.11.2017 04:20, Luis Araneda: That seems like the correct way to go, but is a lot of work as you mentioned. I can start with the ipq806x and sunxi targets, since they are the ones I am most familiar with. @Mathias: Should I send you the patches to be applied to your staging tree, or to the mai

Re: [LEDE-DEV] Trouble with dnsmasq

2017-12-01 Thread Hans Dedecker
On Thu, Nov 30, 2017 at 8:28 PM, e9hack wrote: > Am 22.11.2017 um 18:01 schrieb e9hack: > >> It look likes that reload_service()/start_service() is called twice. The >> first call generates the host file properly and >> starts dnsmasq. Before dnsmasq is able to read the host file, the second >>

Re: [LEDE-DEV] [PATCH] ar71xx: add support for TP-Link TL-WDR7500v6

2017-12-01 Thread Mathias Kresin
30.11.2017 22:06, Bill Moffitt: On 11/29/2017 12:03 PM, Piotr Dymacz wrote: On 29.11.2017 20:17, Bill Moffitt wrote: Swapping bootloader isn't the only issue I see here. Moving ART which is essential and unique per device might end up in a data loss which cannot be recovered in any way. Yes,