Re: opkg fails to install manually downloaded packages

2021-05-01 Thread Sven Roederer
Am Samstag, 1. Mai 2021, 15:14:35 CEST schrieb Hannu Nyman: > Sven Roederer kirjoitti 30.4.2021 klo 22.43: > > ... > > Digging further I found installing online pulled librt in. Restarting from > > scratch ... > > Downloading librt and wall via wget and running `opkg

Re: Installing OpenWrt 21.02 on the TP-Link AD7200

2021-05-03 Thread Sven Roederer
Hi Alex, great to hear that you was able to fix the complete support for this unit. Am Sonntag, 2. Mai 2021, 09:56:04 CEST schrieb Alex Henrie: > > I tried renaming the file to > > AD7200v1-up-ver2-0-1-P1[20170103-rel71053]_2017-01-04_10.08.28.bin to > > match the latest stock firmware and the we

Re: [PATCH v3 0/2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-05 Thread Sven Roederer
Am Montag, 26. April 2021, 16:58:20 CEST schrieb Sven Roederer: > Using the BINARY_FOLDER or DOWNLOAD_FOLDER options make them escape from the > build-system to the system the archives run later. > As the build-time path will usually not work on the other system, restore > the int

Re: [PATCH v3 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-05-06 Thread Sven Roederer
Baptiste, Am Donnerstag, 6. Mai 2021, 13:13:46 CEST schrieb Baptiste Jonglez: > > > > + $(SED) 's/^CONFIG_BINARY_FOLDER=.*/# CONFIG_BINARY_FOLDER was reset by > > Imagebuilder/' $(PKG_BUILD_DIR)/.config + $(SED) > > 's/^CONFIG_DOWNLOAD_FOLDER=.*/# CONFIG_DOWNLOAD_FOLDER was reset by > > Image

Re: [PATCH v3 2/2] sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-06 Thread Sven Roederer
Baptiste, Am Donnerstag, 6. Mai 2021, 13:08:56 CEST schrieb Baptiste Jonglez: > Hi, > > > > > target/sdk/Makefile | 1 + > > target/sdk/convert-config.pl | 8 +++- > > 2 files changed, 8 insertions(+), 1 deletion(-) > > > > diff --git a/target/sdk/Makefile b/target/sdk/Makefile >

[PATCH v4 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-05-07 Thread Sven Roederer
ives via .config file. The expected behavior is that after unpacking the imagebuilder acts like these settings have their defaults, using intree folders. So unset the build-time settings. Signed-off-by: Sven Roederer --- target/imagebuilder/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff -

[PATCH v4 0/2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-07 Thread Sven Roederer
This is v4 of this series including the findings and comments of Baptiste * use standard format of disabled config items for imagebuilder * remove unneeded and no-op SED call for SDK ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[PATCH v4 2/2] sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-07 Thread Sven Roederer
pl to create Config.build. This addresses the same issue that's fixed in the previous commit for the imagebuilder. Signed-off-by: Sven Roederer --- target/sdk/convert-config.pl | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/target/sdk/convert-config.pl b/target/s

Re: [PATCH v3 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-05-07 Thread Sven Roederer
Baptiste, Am Freitag, 7. Mai 2021, 14:12:21 CEST schrieb Baptiste Jonglez: > > Since these settings are hidden under "Advanced configuration options (for > developers)", I don't think it's really necessary to leave this kind of > implicit information, I would prefer having a valid .config file. >

Re: opkg fails to install manually downloaded packages

2021-05-16 Thread Sven Roederer
Hannu, thanks for your support to narrow this down. Am Sonntag, 2. Mai 2021, 18:43:20 CEST schrieb Hannu Nyman: > Sounds like a bug, but it should be named something like "Misleading opkg > catch-all error message 'incompatible architecture' " > Made https://bugs.openwrt.org/index.php?do=detail

Re: [PATCH opkg] libopkg: pkg_hash: print unresolved dependencies

2021-05-18 Thread Sven Roederer
Hi, Am Montag, 3. Mai 2021, 19:46:22 CEST schrieb Hauke Mehrtens: > On 5/3/21 2:38 PM, Baptiste Jonglez wrote: > > Hi, > > > > On 02-05-21, Hauke Mehrtens wrote: > >> When a package is not installed because it has unresolved dependencies > >> > >> normally we get only an error message like this:

Re: opkg fails to install manually downloaded packages

2021-05-18 Thread Sven Roederer
Hauke, thanks for the pointer. My comments in the original thread. Sven Am Sonntag, 16. Mai 2021, 23:34:04 CEST schrieb Hauke Mehrtens: > > I debugged a similar problem a week ago and added this patch to opkg: > https://patchwork.ozlabs.org/project/openwrt/patch/20210502205912.23753-1-ha > u..

build-environment and pathlength

2021-05-26 Thread Sven Roederer
Hi, since some time I carry a patch along to fix running mkimage with a long pathname for $TOPDIR. Recently 5a9608102b3c4 was added to work around a similar issue in kernel2minor (also addressed by [1]) and I just found another when building uclibc++ . Based on this it might be required to add

Re: [PATCH luci] luci-mod-network: split config migration into 2 steps

2021-05-30 Thread Sven Roederer
Am Samstag, 29. Mai 2021, 18:10:59 CEST schrieb Hauke Mehrtens: > On 5/29/21 5:25 PM, Rafał Miłecki wrote: > > > > For the sake of simplicity and reliability use 2 steps migration. The > > downside is that users may get prompted twice to migrate. > > > > I tested it in OpenWrt 21.02 doing the mi

Re: [PATCH v2] libopkg: pkg_hash: print unresolved dependencies

2021-06-09 Thread Sven Roederer
Am Dienstag, 8. Juni 2021, 21:48:40 CEST schrieb Hauke Mehrtens: > When a package is not installed because it has unresolved dependencies > normally we get only an error message like this: > * pkg_hash_fetch_best_installation_candidate: Packages for ltq-vdsl-app > found, but incompatible with the

Re: OpenWrt 21.02.0 Third release candidate

2021-06-17 Thread Sven Roederer
Am Donnerstag, 17. Juni 2021, 21:22:34 CEST schrieb Hauke Mehrtens: > In particular, make sure to read the regressions and known issues before > upgrading: > https://openwrt.org/releases/21.02/notes-21.02.0-rc3#known_issues > just let me highlight FS#3866 (no network in failsafe) Sven _

Re: [PATCH 2/3] base-files: failsafe: Start also CPU interface for DSA

2021-06-20 Thread Sven Roederer
Am Samstag, 19. Juni 2021, 20:36:10 CEST schrieb Hauke Mehrtens: > On a DSA switch the ports have an upper device, the CPU device, e.g. > eth0. This device has to be in up state to bring up the lower devices > like lan1. > > Parse the link device from "ip link show" and bring it into up stated > b

Re: [PATCH 2/3] base-files: failsafe: Start also CPU interface for DSA

2021-06-24 Thread Sven Roederer
Am Sonntag, 20. Juni 2021, 17:11:08 CEST schrieb Hauke Mehrtens: > On 6/20/21 4:30 PM, Sven Roederer wrote: > > > > The Rb750 is DSA, so it seems there is still something wrong. I'll retest > > with current master soon, to rule out issues based on 21.02-rc3. > > &

[PATCH] dropbear: add config options for agent-forwarding support

2021-07-15 Thread Sven Roederer
* SSH agent forwarding might cause security issues, locally and on the jump machine (https://defn.io/2019/04/12/ssh-forwarding/). So allow to completely disabling it. * separate options for client and server * keep it enabled by default Signed-of-by: Sven Roederer --- package/network

[21.02] netifd: backport "system-linux: fix deletion of ip tunnels (FS#4058)"

2021-11-13 Thread Sven Roederer
Hi, recently found the time to update my router to OpenWrt-21.02. All seems fine beside an issue with IPIP-tunnels. I was able to track this down to netifd. And I also found FS#4058 and the recent fix () pushed by Hans. As the patch cleanly applies to current 21.02-netifd, it would be great to

Re: zram-swap: default to lzo instead of lzo-rle compression

2021-11-27 Thread Sven Roederer
Am Donnerstag, 17. September 2020, 12:11:19 CET schrieben Sie: > On Thu, 17 Sep 2020 at 10:38, e9hack wrote: > > Hi, > > > > I think commit 419f149e482641ddc520f80a7ab2038f7e2ebc8a is not the proper > > fix for the described issue. > > > > The kernel module lzo-rle is still missing. To solve thi

[PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-11-30 Thread Sven Roederer
openwrt-devel/2020-September/031430.html * 419f149e482641ddc520f80a7ab2038f7e2ebc8a Signed-off-by: Sven Roederer --- .../pending-5.4/801-zram_default-algo.patch | 109 ++ 1 file changed, 109 insertions(+) create mode 100644 target/linux/generic/pending-5.4/801-zram_default-algo.patch diff

Re: zram-swap: default to lzo instead of lzo-rle compression

2021-11-30 Thread Sven Roederer
Am Montag, 29. November 2021, 10:57:37 CET schrieb Rui Salvaterra: > Hi, Sven, > > On Sun, 28 Nov 2021 at 01:40, Sven Roederer wrote: > > Rui, not sure if to call it a bug. At the end there is a hardcoded default > > algo in the module, that is used initially when cre

Re: [PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-12-01 Thread Sven Roederer
Am Mittwoch, 1. Dezember 2021, 12:47:57 CET schrieb Rui Salvaterra: > Hi, Sven, > > [patch snipped] > > Why not just include the lzo-lre module in the lzo module package? We > already agreed they're basically inseparable. In fact, I remember I > had sent a patch [1] a while ago, in order to do ju

Re: zram-swap: default to lzo instead of lzo-rle compression

2021-12-01 Thread Sven Roederer
Am Mittwoch, 1. Dezember 2021, 14:08:15 CET schrieb Rui Salvaterra: > Hi, Felix, > > On Wed, 1 Dec 2021 at 12:45, Felix Fietkau wrote: > > Maybe upstream would accept a simple makefile change that merges both > > into a single module without changing any of the source files. > > That's the most

Re: [PATCH 1/3] generic: platform/mikrotik: make soft_config writable without 4K sectors

2022-01-09 Thread Sven Roederer
Am Dienstag, 21. Dezember 2021, 08:45:59 CET schrieb Oskari Lemmela: > Make soft_config writable in all cases. Performing soft_config commit > will fail if mtd partition is not writable. > > Signed-off-by: Oskari Lemmela > --- > .../drivers/platform/mikrotik/rb_softconfig.c | 17 +++---

Re: [OpenWrt-Devel] [19.07] backport "build: have scripts/feeds honor all toplevel .mk-files of a feed"

2020-02-16 Thread Sven Roederer
Am Freitag, 27. Dezember 2019, 21:42:09 CET schrieb devel-s...@geroedel.de: > Hi, > > can anyone cherry-pick b81cee86e63d4421072839ec8a3780d8afff9337 to 19.07 > ? > This commit was added to master in Oct 2019. Picking this to 19.07 would also here in this release. Or do you expect any issues c

Re: [OpenWrt-Devel] [19.07] kernel: avoid underscore in *6lowpan package names

2020-02-22 Thread Sven Roederer
Am Dienstag, 18. Februar 2020, 21:47:20 CET schrieb Eneas U de Queiroz: > Packages kmod-bluetooth_6lowpan and kmod-ieee802154_6lowpan contain an > underscore in the package name. This causes problems in package/install > because when building a list of package files to install offline using > opkg

Re: [OpenWrt-Devel] Is it possible to create two images for the same device with a different set of DEVICE_PACKAGES?

2020-04-10 Thread Sven Roederer
Am Dienstag, 7. April 2020, 16:22:37 CEST schrieb Hannu Nyman: > I do not think that there is a nice clean solution, as I do not remember > seeing a solution of different packages for iniramfs, factory and sysupgrade > images. > > I would approach that with a two-step build process, using two .con

[OpenWrt-Devel] changes in UCI-reply after lede-17.01

2020-04-12 Thread Sven Roederer
Hi, I took out an shell-script that I used on lede-17.01 to work with uci network configuration. The script is iterating over all interfaces an checks for the physical devices attached to it. With lede-17.01 I was able to query the "ifname"-option to get the interfacename and "devices"-option r

[OpenWrt-Devel] linux5.4: build-dependency to rsync

2020-04-18 Thread Sven Roederer
Hi, I was just building a master-branch for x86-generic and got following error: make[5]: Entering directory '/mnt/local/btrfs/build/freifunk/ffberlin/ firmware/openwrt/build_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/ linux-5.4.28' INSTALL /mnt/local/btrfs/build/freifunk/ffberlin/firmware/open

[OpenWrt-Devel] [PATCH] dnsmasq: add /etc/dnsmasq.d/ to conffiles

2020-04-24 Thread Sven Roederer
This directory can hold configuration-snippets which should also included in the backup. Signed-off-by: Sven Roederer --- package/network/services/dnsmasq/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network

Re: [OpenWrt-Devel] building python3 packages outside of lang/python3

2020-05-01 Thread Sven Roederer
Am Freitag, 1. Mai 2020, 20:20:05 CEST schrieb Alexandru Ardelean: > On Fri, May 1, 2020 at 7:04 PM Michael Richardson wrote: > > hi, > > python packages include ../python3-package.mk, and pypi.mk > > > > But I can't do that from my own feed directory. > > I don't want to copy the file!! > > > >

Re: [OpenWrt-Devel] olsrd: not compiling with gcc 9

2020-06-07 Thread Sven Roederer
Am Sonntag, 7. Juni 2020, 23:39:08 CEST schrieb Rosen Penev: > > Le 7 juin 2020 à 1:38 PM, Nick a écrit : > > > > I would suggest doing this PR as patch like freifunk berlin is doing it: > > https://github.com/freifunk-berlin/firmware/commit/93f9a026e025c7b663369f5 > > 284cec0bb91345220 > Someon

Re: [OpenWrt-Devel] [PATCH] build, imagebuilder: Do not require libncurses-dev

2020-06-08 Thread Sven Roederer
Am Dienstag, 14. April 2020, 23:14:47 CEST schrieb Paul Spooren: > The buildroot and SDK both require `libncurses-dev` to be installed on > the system, however the ImageBuilder uses precompiled binaries. > > This patch changes the prerequirements checks to skip the > `libncurses-dev` part if runni

Re: tplink-safeloader support-list on CPE/WBS devices

2020-08-30 Thread Sven Roederer
Am Sonntag, 30. August 2020, 22:43:32 CEST schrieb Adrian Schmutzler: > Hi, > > while increasing the kernel partition for the TP-Link CPE devices, I found > that the partitions called "soft-version" and "support-list" are handled as > a part of the file-system/firmware partition, in contrast to al

ath79: move 8/32 boards to tiny subtarget

2020-09-16 Thread Sven Roederer
Hi, not sure if this has been discussed before. I recently worked with some 8/32 boards (Ubiquiti Nanostation M (XM), TPLink WR842 v2) for our Freifunk-project and realized that the low RAM situation requires quite different handling than the full boards (8+/64+). I wonder if there is a reason

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-17 Thread Sven Roederer
Adrian, David, Am Mittwoch, 16. September 2020, 16:15:42 CEST schrieb David Bauer: > Hi, > > On 9/16/20 11:40 AM, Adrian Schmutzler wrote: > >> -Original Message- > >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > >> On Behalf

Re: zram-swap: default to lzo instead of lzo-rle compression

2020-09-17 Thread Sven Roederer
Am Donnerstag, 17. September 2020, 11:38:42 CEST schrieb e9hack: >The kernel module lzo-rle is still missing. To solve this, it must be > installed on the root-fs: > > diff --git a/package/kernel/linux/modules/lib.mk > b/package/kernel/linux/modules/lib.mk index 1289cc1f25..fade8a5cfd 100644 > ---

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-19 Thread Sven Roederer
Hello David, Am Freitag, 18. September 2020, 09:44:10 CEST schrieb David Bauer: > Hello Sven, > > On 9/18/20 1:27 AM, Sven Roederer wrote: > > Adrian, David, > > > > Am Mittwoch, 16. September 2020, 16:15:42 CEST schrieb David Bauer: > >> Hi, > >>

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-20 Thread Sven Roederer
Am Sonntag, 20. September 2020, 00:21:44 CEST schrieb Adrian Schmutzler: > > Indeed "LOW_MEMORY_FOOTPRINT" seems only to affedt 3 general options > > and one option of OpenSSL. > > > > So it might be an option to : > > * set LOW_MEM for 8/32 MB devies > > * set LOW_MEM and SMALL_FLASH for 4/32 MB

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-21 Thread Sven Roederer
Fernando, I'm only talking on the boards having 32MB RAM. This includes 4MB / 8MB flash boards. I'm not having the 8/64 boards in mind. They are fine and should work for some furture releases Sven Am Montag, 21. September 2020, 00:24:00 CEST schrieb Fernando Frediani: > I have some concern to

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-26 Thread Sven Roederer
Am Sonntag, 20. September 2020, 15:32:52 CEST schrieb Sven Roederer: > > Actually, this narrows down to a question that struck me several times > > already: > > > > Now, that 4 MB flash devices are not "supported" anymore, how should we > > deal with the &q

[PATCH] build, imagebuilder: Do not require compilers

2020-09-27 Thread Sven Roederer
libncurses-dev in 4a1a58a3e2d2. Signed-off-by: Sven Roederer --- include/prereq-build.mk | 4 1 file changed, 4 insertions(+) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 4637c6ca50..f67a01299e 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk

Re: [OpenWrt-Devel] linux5.4: build-dependency to rsync

2020-10-02 Thread Sven Roederer
Am Sonntag, 19. April 2020, 11:32:03 CEST schrieb Bjørn Mork: > Sven Roederer writes: > > I was just building a master-branch for x86-generic and got following > > error: > > > > make[5]: Entering directory '/mnt/local/btrfs/build/freifunk/ffberlin/ > >

Re: ath79: move 8/32 boards to tiny subtarget

2020-10-06 Thread Sven Roederer
Am Samstag, 3. Oktober 2020, 19:16:51 CEST schrieb Paul Oranje: > > Op 21 sep. 2020, om 20:42 heeft Sven Roederer het > > volgende geschreven: > > > > Fernando, > > > > I'm only talking on the boards having 32MB RAM. This includes 4MB / 8MB > > f

Re: [PATCH] build, imagebuilder: Do not require compilers

2020-10-06 Thread Sven Roederer
Am Dienstag, 29. September 2020, 09:35:20 CEST schrieb Paul Spooren: > On Sun Sep 27, 2020 at 11:07 AM HST, Sven Roederer wrote: > > The buildroot and SDK both require the compilers (gcc, g++) to be > > installed on the host system, however the ImageBuilder uses precompil

running custom commands during sysupgrade -

2020-10-16 Thread Sven Roederer
Hi, based on my setup for some 8/32 MB devices I'd like to run a custom script before / during sysupgrade. The main task of the script should be to free additional RAM, as I suspect some soft-bricks and aborted upgrades to a OOM- situation. To me the /lib/upgrade folder seems a good place to a

Re: running custom commands during sysupgrade -

2020-10-18 Thread Sven Roederer
Am Samstag, 17. Oktober 2020, 01:15:38 CEST schrieb Adrian Schmutzler: > Hi Sven, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Sven Roederer > > Sent: Samstag, 17. Oktober 20

[OpenWrt-Devel] Changeset 29355 - OpenVPN option enable and Luci

2011-11-29 Thread Sven Roederer
Hi, in r29355 a patch was made to accept the "option enable" and "option enabled" in config-file. Since r29167 the "option enable" was renamed to "option enabled". This change caused luci-app-openvpn to not show up the correct state (see ticket #10473). I think it's not the smartest way to hav

Re: [OpenWrt-Devel] Changeset 29355 - OpenVPN option enable and Luci

2011-11-30 Thread Sven Roederer
The changelog stats: r29167 | nico | 2011-11-16 10:44:00 packages/openvpn: use new service functions, change 'enable' option to 'enabled' like most other services are using So the cause is more cosmetic / consistency of options. Am Mittwoch, 30. November 2011 schrieb Philip Prindeville: > I agr

Re: [OpenWrt-Devel] Changeset 29355 - OpenVPN option enable and Luci

2011-11-30 Thread Sven Roederer
So maybe the question is: "is the change of the option required or should we stay at 'enable'?" Sven signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openw

[OpenWrt-Devel] [PATCH] correct description for libdbi

2011-12-08 Thread Sven Roederer
Signed-off-by: Sven Roederer Index: feeds/packages/libs/libdbi/Makefile === --- feeds/packages/libs/libdbi/Makefile (Revision 29484) +++ feeds/packages/libs/libdbi/Makefile (Arbeitskopie) @@ -1,5 +1,5 @@ # -# Copyright (C) 2009

[OpenWrt-Devel] [PATCH] correcting deps for mc

2012-03-26 Thread Sven Roederer
In r30942 on fresh installed x86 mc do not start, as of missing "librpc". This will correct the deps to pull librpc. Also closes #10489. Signed-off-by: Sven Roederer --- Index: utils/mc/Makefile === --- utils/m

[OpenWrt-Devel] [PATCH] enable MPPE again, got broken in r26296

2011-04-07 Thread Sven Roederer
Since r26296 mppe.ko could not be loaded, kernel gives "device missing" error. According to KConfig cypther-ecb is required. Signed-off-by: Sven Roederer Index: package/kernel/modules/netsupport.mk === --- package/kern

<    1   2