Re: [PATCH] libcxxabi: fix compilation under the SDK

2020-09-10 Thread Jo-Philipp Wich
Hi, > + $(MAKE) -C $(TOPDIR)/$(if > $(CONFIG_IN_SDK),feeds/base/)package/libs/libcxx prepare this looks like an ugly hack, also the feed is not guaranteed to reside in feeds/base/ - the user can theoretically change the name of the base feed. Why does this package need to trigger an prepare

Re: [OpenWrt-Devel] [PATCHv3] mdadm: revised mdadm config & init logic

2020-09-10 Thread Jo-Philipp Wich
Hi, comments inline. On 1/23/20 3:56 AM, Rosen Penev wrote: > From: Joseph Tingiris > > This is a significant revision of /etc/init.d/mdadm. It adds new > features, support for new configuration options, safer error > handling, (configurable) verbose output, and contains multiple bug > fixes.

Re: [PATCH] libcxxabi: fix compilation under the SDK

2020-09-10 Thread Rosen Penev
On Thu, Sep 10, 2020 at 1:25 AM Jo-Philipp Wich wrote: > > Hi, > > > + $(MAKE) -C $(TOPDIR)/$(if > > $(CONFIG_IN_SDK),feeds/base/)package/libs/libcxx prepare > > this looks like an ugly hack, Yes it is. > also the feed is not guaranteed to reside in > feeds/base/ - the user can theoretically

[PATCH V4 rpc] rc: new ubus object for handling /etc/init.d/ scripts

2020-09-10 Thread Rafał Miłecki
From: Rafał Miłecki This commit adds "rc" ubus object with methods "list" and "exec" for listing and calling init.d script appropriately. It's useful for all kind of UIs (e.g. LuCI) and custom apps. Example: root@OpenWrt:~# ubus call rc list { "blockd": { "enabled": true,

Re: [OpenWrt-Devel] [PATCHv3] mdadm: revised mdadm config & init logic

2020-09-10 Thread Rosen Penev
On Thu, Sep 10, 2020 at 1:40 AM Jo-Philipp Wich wrote: > > Hi, > > comments inline. > > On 1/23/20 3:56 AM, Rosen Penev wrote: > > From: Joseph Tingiris > > > > This is a significant revision of /etc/init.d/mdadm. It adds new > > features, support for new configuration options, safer error > > h

Re: [PATCH] ath25: fix preinit Ethernet port configuration

2020-09-10 Thread Karl Palsson
Sergey Ryazanov wrote: > On Wed, Sep 9, 2020 at 6:08 PM Adrian Schmutzler > wrote: > > > - vconfig add eth0 1 > > > + ip link add dev eth0.1 link eth0 type vlan > > > id 1 > > > > Are you sure this is correct? > > Yes, I tested this comma

Re: [PATCH V4 rpc] rc: new ubus object for handling /etc/init.d/ scripts

2020-09-10 Thread Rafał Miłecki
On 10.09.2020 10:53, Rafał Miłecki wrote: From: Rafał Miłecki This commit adds "rc" ubus object with methods "list" and "exec" for listing and calling init.d script appropriately. It's useful for all kind of UIs (e.g. LuCI) and custom apps. Pushed with strstr -> strncmp to avoid parsing comme

[PATCH 2/2] rules.mk: simplify FAKEROOT command line

2020-09-10 Thread Jo-Philipp Wich
Since fakeroot is patched to discover related ressources relative to the STAGING_DIR_HOST environment variable, there is no need to pass the path to faked or the preload library manually anymore. Signed-off-by: Jo-Philipp Wich --- rules.mk | 7 +-- 1 file changed, 1 insertion(+), 6 deletions

[PATCH 1/2] fakeroot: make fakeroot script relocatable

2020-09-10 Thread Jo-Philipp Wich
Patch the fakeroot script template to discover faked and libfakeroot.so relative to the STAGING_DIR_HOST environment variable, similar to how it is done for automake, libtool, quilt and autoconf already. This avoids the need for passing the paths to faked and libfakeroot.so manually every time we

Re: [PATCH 2/2] rules.mk: simplify FAKEROOT command line

2020-09-10 Thread Jo-Philipp Wich
Hi, please disregard, I made a logical mistake and forgot that the OS X check is about the *.dylib vs. *.so extension, not the library location. ~ Jo signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@li

Re: [PATCH 2/2] rules.mk: simplify FAKEROOT command line

2020-09-10 Thread Jo-Philipp Wich
Hi again, > please disregard, I made a logical mistake and forgot that the OS X check is > about the *.dylib vs. *.so extension, not the library location. actually it seems fine after all since the proper extension is embedded in the fakeroot script according to whats applicable to the host system

[PATCH] base-files: drop default setup for vconfig

2020-09-10 Thread Adrian Schmutzler
vconfig has been disabled by default since 2015 [1] and there are no remaining uses in entire OpenWrt trunk. However, we still set up a specific name_type for it during boot. While this setup is properly implemented to be only triggered when vconfig is present, it still seems anachronistic and unn

[PATCH] build: create rootfs.tar.xz if BUILDBOT

2020-09-10 Thread Paul Spooren
The rootfs.tar.gz is used to create Docker containers containing the OpenWrt root filesystem. These containers are currently only available for x84/64 and armvirt/{32,64}. For CI package runtime testing more rootfs containers would allow additional tests. After CI building a changed package for mu