[OpenWrt-Devel] [PATCH] procd: allow running with pid != 1

2019-09-03 Thread Paul Spooren
Allow to run procd from a bash script and still let it fire up system services. This is handy when running from within a container that does not start any init command on pid 1, like on GitLab CI. Signed-off-by: Paul Spooren --- procd.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-)

Re: [OpenWrt-Devel] [lantiq] general help on AR10 platform

2019-09-03 Thread Enrico Mioso
Hey there! On Mon, 2 Sep 2019, Hauke Mehrtens wrote: Do you use the compatible string lantiq,ar10 for the device? PS! Thanks Lots of work needed but still... Eva_AVM >    [ 0.00]

[OpenWrt-Devel] Merged: libblkid-tiny: addsblkid_probe_set_utf8label support

2019-09-03 Thread Jo-Philipp Wich
Merged into project/fstools.git, branch master. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: libblkid-tiny: useblkid_probe_set_utf8label for label set

2019-09-03 Thread Jo-Philipp Wich
Merged into project/fstools.git, branch master. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: rpcd: Switch to nanosleep

2019-09-03 Thread Jo-Philipp Wich
Merged into project/rpcd.git, branch master. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: Add LED migration for several Archer Cxx devices

2019-09-03 Thread Adrian Schmutzler
Hi, concerning LED migration: I have _not_ run-tested this patch, as it's closely similar to what has been done for c7-v5, which has been tested. I own C25 and both C60, though, so if you insist I can test (but not so soon). Concerning eth0/eth1 swap: After https://github.com/openwrt/openwrt/

[OpenWrt-Devel] Merged: firewall3: Fix some format string problems

2019-09-03 Thread Jo-Philipp Wich
Merged into project/firewall3.git, branch master. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] phase1: run prepare instead of diffconfig

2019-09-03 Thread Paul Spooren
This will not only create config.buildinfo as before, but also version.buildinfo and feeds.buidinfo. CC: Jo-Philipp Wich Signed-off-by: Paul Spooren --- phase1/master.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index a9186

[OpenWrt-Devel] Merged: upslug2: Update to git repository

2019-09-03 Thread Jo-Philipp Wich
Merged into master. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: phase1: run prepare instead of diffconfig

2019-09-03 Thread Jo-Philipp Wich
Merged into buildbot.git, branch master. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Merged: bzip2: Fix CVE-2019-12900

2019-09-03 Thread Jo-Philipp Wich
Merged into openwrt-18.06. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH procd] system: reject sysupgrade of invalid firmware images by default

2019-09-03 Thread Rafał Miłecki
From: Rafał Miłecki This validation step can be bypassed by passing "force" argument. This is very similar to the /sbin/sysupgrade behavior and --force. Signed-off-by: Rafał Miłecki --- system.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/system.c b/syst

[OpenWrt-Devel] [PATCH] base-files: pass "force" parameter to the "sysupgrade" call

2019-09-03 Thread Rafał Miłecki
From: Rafał Miłecki This makes sysupgrade work with the most recent procd that validates firmware before proceeding. Signed-off-by: Rafał Miłecki --- package/base-files/files/sbin/sysupgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/base-files/files/sbin/sysupgrade b/pack

[OpenWrt-Devel] [PATCH] fstools: fix libblkid-tiny ntfs uuid detection

2019-09-03 Thread z @
detect ntfs uuid fails because blkid_probe_get_buffer override memory of buf, so move blkid_probe_sprintf_uuid to before blkid_probe_get_buffer Signed-off-by: Haiqiang Xu --- libblkid-tiny/ntfs.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libblkid-tiny/ntfs.c b/

[OpenWrt-Devel] [PATCH] ath79: eg200: enable status led usage

2019-09-03 Thread Karl Pálsson
This enables using the "eTactica" LED during boot, to indicate failsafe, and during upgrade, while still leaving the LED alone for normal operation. This brings the device more in line with how other devices work, and makes the failsafe functionality easier to use and understand. Signed-off-by: K

Re: [OpenWrt-Devel] [PATCH] fstools: fix libblkid-tiny ntfs uuid detection

2019-09-03 Thread Rafał Miłecki
On Tue, 3 Sep 2019 at 18:00, z @ wrote: > detect ntfs uuid fails because blkid_probe_get_buffer override memory of buf, > so move blkid_probe_sprintf_uuid to before blkid_probe_get_buffer > > Signed-off-by: Haiqiang Xu I'm not sure about this solution. It's a workaround for the issue I reported

Re: [OpenWrt-Devel] [PATCH procd] system: reject sysupgrade of broken firmware images

2019-09-03 Thread Luis Araneda
Hi Rafał, On Sun, Sep 1, 2019 at 5:09 AM Rafał Miłecki wrote: > On Sun, 1 Sep 2019 at 06:13, Reiner Karlsberg wrote: > > This needs to be handled very carefully, not to break > > actual usage of -F. > > I had to use -F couple of times, usually when downgrading > > installed firmware, but with ch

Re: [OpenWrt-Devel] [PATCH] ath79: eg200: enable status led usage

2019-09-03 Thread Karl Palsson
Karl Pálsson wrote: > > Signed-off-by: Karl Palsson > --- It's minor, but if someone picks this, please _don't_ change my SoB to match the email. The original source commits and all git config names are unaccented, and it's how I use my name, it's just the office365 mail server that is "mang

Re: [OpenWrt-Devel] [PATCH] odhcpd: router: Fix out of scope memory access

2019-09-03 Thread Hans Dedecker
On Mon, Sep 2, 2019 at 10:30 PM Hauke Mehrtens wrote: > > A pointer to search_buf is accessed by search_domain outside of the > if branch which defines search_buf. The compiler could already reuse > this memory. > > Coverity: #1445747 > Signed-off-by: Hauke Mehrtens > --- Patch applied; thx Hans

Re: [OpenWrt-Devel] [PATCH procd] system: reject sysupgrade of broken firmware images

2019-09-03 Thread Rafał Miłecki
On Tue, 3 Sep 2019 at 18:57, Luis Araneda wrote: > On Sun, Sep 1, 2019 at 5:09 AM Rafał Miłecki wrote: > > On Sun, 1 Sep 2019 at 06:13, Reiner Karlsberg > > wrote: > > > This needs to be handled very carefully, not to break > > > actual usage of -F. > > > I had to use -F couple of times, usuall

Re: [OpenWrt-Devel] RPi Zero W: broken serial since 4.19 switch

2019-09-03 Thread Rafał Miłecki
On Mon, 2 Sep 2019 at 16:08, Rafał Miłecki wrote: > Starting with the commit 42954857190b ("brcm2708: add linux 4.19 > support") I don't get any output over my Raspberry Pi Zero W serial > console. OpenWrt still boots fine (I can see full bootlog on a screen). Fixed by the: 5287ac2dfbd0 ("brcm270