Signed-off-by: Yousong Zhou
---
This is intended for use by hotplug system to check whether
/etc/hotplug.d/%SUBSYSTEM% is a directory
examples/json_script-example.json | 5 +
json_script.c | 26 ++
2 files changed, 31 insertions(+)
diff --git a
There are time that programs need to be notified of events from
subsystems that are not enumerated in the .json definition, e.g. QEMU
guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0
which is a symlink to /dev/vportMpN from virtio-ports subsystem.
Signed-off-by: Yousong
s
1. cp target/linux/malta/config-{3.18,4.4}
2. make kernel_menuconfig CONFIG_TARGET=subtarget_platform
Signed-off-by: Yousong Zhou
---
The patch was run-tested with QEMU 2.5.0.
target/linux/malta/Makefile| 2 +-
target/linux/malta/config-3.18
Hi
On 5 January 2016 at 17:41, Andy Wong wrote:
> Hi.I not quite understand.I've change the install part as below:
>
> define Package/openwrt-dist-luci/install
> #!/bin/sh
> $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller
> $(INSTALL_DATA) ./files/luci/controller/$(2).lua
> $(1)/usr/lib/lua/luci
With the default network config provided by package base-files present,
board_detect won't create a new config from board.json.
Signed-off-by: Yousong Zhou
---
target/linux/malta/base-files.mk | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 target/linux/malta/base-files.mk
Hi,
On 31 December 2015 at 20:33, Roman Yeryomin wrote:
> On 30 December 2015 at 14:32, Yousong Zhou wrote:
>> On 30 December 2015 at 20:12, Jo-Philipp Wich wrote:
>>> Hi Yousong.
>>>
>>> NAK - thats by design. If a network config is present then ther
On Wednesday, 30 December 2015, Nathan Hintz wrote:
> Hi:
> On Dec 30, 2015 4:01 AM, Yousong Zhou > wrote:
> >
> > With the default /e/c/network present, board_detect won't create a new
> > config from board.json. Move this default configuration t
Hi,
On 30 December 2015 at 20:12, Amine Aouled Hamed wrote:
>
> Hi,
> Can you elaborate more on why you prefer uci state? I am just starting with
> OpenWRT and the first thing I found was procd.
>
Most of it is really just personal preference. I prefer uci because
it can provide more structure
t;
>> This should fix the issue on malta target and should not affect other
>> targets that provide its own default network config
>>
>> Signed-off-by: Yousong Zhou
>> ---
>> package/base-files/files/bin/config_generate | 8
>> package/base-files/f
twork config
Signed-off-by: Yousong Zhou
---
package/base-files/files/bin/config_generate | 8
package/base-files/files/etc/config/network | 18 --
2 files changed, 8 insertions(+), 18 deletions(-)
delete mode 100644 package/base-files/files/etc/config/network
diff --
On 29 December 2015 at 04:33, Jeroen van Bemmel wrote:
> All,
>
> For a Xiaomi Mini WiFi router I wanted to try OpenVSwitch, but the
> 2.4.0 version available in the feeds only supports Linux kernels up to
> 4.1. The ramips target uses kernel 4.3, and downgrading to 4.1 didn't work
> for me.
>
> O
Hi,
On 24 December 2015 at 09:32, L. D. Pinney wrote:
> This patch adds support for the Bitmain Antrouter R1
>
> http://wiki.openwrt.org/toh/bitmain/r1
>
> Signed-off-by: L. D. Pinney
> ---
>
> V2 Corrects naming errors in Profile in V1
>
> target/linux/ar71xx/base-files/etc/board.d/01_leds
Hi, amine
On 23 December 2015 at 00:00, amine ahd wrote:
> The current state of NTP is to load the list of NTP servers
> from the static file /etc/config/system.
> This patch allows ntpd to get NTP servers from DHCP.
> ntpd will restart whenever the list of NTP servers is changed.
>
> Signed-off-
On 22 December 2015 at 06:11, Heinrich Schuchardt wrote:
> OpenWRT ChaosCalmer uses busybox 1.23.2.
>
> For many tar.gz files I receive errors like:
>
> user@MR3020:~/src$ wget http://tukaani.org/xz/xz-5.2.2.tar.gz
> user@MR3020:~/src$ tar -xzf xz-5.2.2.tar.gz
> tar: invalid tar magic
> user@MR302
On 22 December 2015 at 06:08, Heinrich Schuchardt wrote:
> OpenWRT provides gcc but lacks make. So building foreign software is
> difficult.
>
GCC is provided as part of the OpenWrt packages feeds
(https://github.com/openwrt/packages), so maybe this should also go
there.
> This patch provides GN
On 17 December 2015 at 06:21, wrote:
> From: Daniel Dickinson
>
> Without exposing DEVNAME to scripts in /etc/hotplug.d,
> they have no means of determining the actual device file
> path (in most cases), which is counter-productive for
> doing things like settings permissions on a device file
>
yousong
On 11 December 2015 at 13:33, Yousong Zhou wrote:
> Hi, Nikolay,
>
> On 3 December 2015 at 15:16, Nikolay Martynov wrote:
>> This router is based on MT7621 SoC, no wifi, nand.
>>
>> Works:
>> * Boots.
>> * Ethernet.
>>
Hi, Nikolay,
On 3 December 2015 at 15:16, Nikolay Martynov wrote:
> This router is based on MT7621 SoC, no wifi, nand.
>
> Works:
> * Boots.
> * Ethernet.
> * Switch.
> * Button (reset).
> * Flashing OpenWrt from stock firmware.
> * Upgrading OpenWrt.
>
> Doesn't work:
> * No GPIO leds. All leds
Am 08.12.2015 22:45 schrieb "Bastian Bittorf" :
>
> while trying to understand the procd
> respawn-trigger, I wrote this testscript:
>
> #!/bin/sh /etc/rc.common
> START=50
> USE_PROCD=1
> PROG=/tmp/test.sh
>
> start_service()
> {
> {
> echo '#!/bin/sh'
> ech
ementation above.
>
I used the following command before for fetching MAC addresses from
mtd devices. Not sure if it also works for ubi devices...
hexdump -v -n 6 -s 0x1fc00 -e '5/1 "%02x:" 1/1 "%02x""\n"' /dev/mtd2
P.S. please avoid top posting
Ch
e to mtd_get_mac_binary. A new patch is good if we
think it can help improve the code even though it is mostly unrelated in
the whole series.
And a new nitpick crawls out below...
>
> Regards,
> Chris Blake
>
> On Sun, Dec 6, 2015 at 10:05 PM, Yousong Zhou
wrote:
> > Hello,
Hello, Christian, a few nitpicks inline :)
On 6 December 2015 at 06:48, Christian Lamparter
wrote:
> From: Chris R Blake
>
> The MR18 stores the ath9k eeprom values on the NAND.
> This patch makes it possible to retrieve the images
> from there.
>
> Signed-off-by: Chris R Blake
> ---
> package
On 30 November 2015 at 17:50, John Crispin wrote:
>
>
> On 30/11/2015 10:33, Jo-Philipp Wich wrote:
>> Hi all,
>>
>> as an intermediate solution we could simply allow qemu specific events.
>>
>> I'm with John here that passing on uevents unfiltered is probably no
>> good idea.
>>
>> ~ Jow
>
> yep,
On 28 November 2015 at 12:22, Yousong Zhou wrote:
> There are time that programs need to be notified of events from
> subsystems that are not enumerated in the .json definition, e.g. QEMU
> guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0
> which is a sym
There are time that programs need to be notified of events from
subsystems that are not enumerated in the .json definition, e.g. QEMU
guest agent by default requires /dev/virtio-ports/org.qemu.guest_agent.0
which is a symlink to /dev/vportMpN from virtio-ports subsystem.
Signed-off-by: Yousong
On 5 November 2015 at 22:44, Karl Palsson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I'm trying to work out _a_ way of ensuring that a UCI config file
> has a given section type with a given name.
>
> While trying to test out the various methods, I've been deleting
> files from /
On 3 November 2015 at 19:19, Bastian Bittorf wrote:
> while debugging things, we saw that each
> command invoked via rc.common->service or
> /lib/functions/network.sh -> config_load
> pollutes the env-space a *lot*. here it is
> for each service ~20k.
>
> some things are easy for getting rid of:
>
packages for "router" will
be installed to malta firmware images.
Signed-off-by: Yousong Zhou
---
target/linux/malta/Makefile |2 --
1 file changed, 2 deletions(-)
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index c9f1586..8392738 100644
--- a/target/linux/malt
Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.
While at it, also configure a lan interface if eth1 exists.
Signed-off-by: Yousong Zhou
-
-system-mipsel 2.3.0
root@OpenWrt:/# cat /proc/cpuinfo | grep 'cpu model\|isa'
cpu model : MIPS 24Kc V0.0 FPU V0.0
isa : mips1 mips2 mips32r1 mips32r2
Signed-off-by: Yousong Zhou
---
target/linux/malta/Makefile |1 +
1 file changed, 1
Signed-off-by: Yousong Zhou
---
include/target.mk |1 +
1 file changed, 1 insertion(+)
diff --git a/include/target.mk b/include/target.mk
index f8c0d23..7988056 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -212,6 +212,7 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_mips32 = -mips32
input}:208: Error: unrecognized opcode `wsbh $2,$2'
make[3]: *** [builder.o] Error 1
The patch was already in upstream since kernel release 4.3-rc5.
[1]
https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931
Signed-off-by: Yousong Zhou
/pipermail/openwrt-devel/2015-September/thread.html#35515
v2 <- v1
- Instead of setting the device type explicitly to router, just drop the
definition and use the default
- Make eth0 the default ifname for wan interface and eth1 if exists the
lan
interface
Yousong Z
Fwd to openwrt-devel list.
-- Forwarded message --
From: Yousong Zhou
Date: 29 October 2015 at 09:59
Subject: Re: [OpenWrt-Devel] [PATCH 2/5] target.mk: add optimization
flags for MIPS 24Kc.
To: Cristian Morales Vega
On 28 October 2015 at 22:18, Cristian Morales Vega
wrote
On 29 October 2015 at 00:19, Florian Fainelli wrote:
> On Oct 28, 2015 5:56 AM, "Yousong Zhou" wrote:
>>
>> This is almost the default config of OpenWrt targets (currently even
>> those sunxi boards with only one ethernet interface use static IP
>> address fo
On 29 October 2015 at 00:20, Florian Fainelli wrote:
> On Oct 28, 2015 5:56 AM, "Yousong Zhou" wrote:
>>
>> There is currently no relevant definition for developerboard device type
>> in include/target.mk, thus packages like iptables, firewall, dnsmasq
>> e
This is almost the default config of OpenWrt targets (currently even
those sunxi boards with only one ethernet interface use static IP
address for its lan interface).
While at it, also configure a wan interface if eth1 exists.
Signed-off-by: Yousong Zhou
---
target/linux/malta/base-files/etc
There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.
Signed-off-by: Yousong Zhou
---
target/linux/malta
-system-mipsel 2.3.0
root@OpenWrt:/# cat /proc/cpuinfo | grep 'cpu model\|isa'
cpu model : MIPS 24Kc V0.0 FPU V0.0
isa : mips1 mips2 mips32r1 mips32r2
Signed-off-by: Yousong Zhou
---
target/linux/malta/Makefile |1 +
1 file changed, 1
Signed-off-by: Yousong Zhou
---
include/target.mk |1 +
1 file changed, 1 insertion(+)
diff --git a/include/target.mk b/include/target.mk
index 3e7f17d..119f88c 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -212,6 +212,7 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_mips32 = -mips32
/pipermail/openwrt-devel/2015-September/thread.html#35515
Yousong Zhou (5):
generic: fix unrecognized opcode wsbh when building for MIPS16.
target.mk: add optimization flags for MIPS 24Kc.
malta: set CPU_TYPE:=24kc.
malta: convert to router type target.
malta: use "static" proto for lan
input}:208: Error: unrecognized opcode `wsbh $2,$2'
make[3]: *** [builder.o] Error 1
The patch was already in upstream since kernel release 4.3-rc5.
[1]
https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931
Signed-off-by: Yousong Zhou
On 10 October 2015 at 22:04, 康 wrote:
>
> At 2015-09-29 10:10:41, "Yousong Zhou" wrote:
>>Hi,
>>
>>Previously this year, there were 2 attempts to add support for HC5661
>>and HC5761 to OpenWrt trunk [1,2]. I only had a HC5661 and it was
>>quit
ctober/028516.html
Regards,
yousong
> Thanks again!
>
> On Tue, Sep 29, 2015 at 10:10 AM, Yousong Zhou
> wrote:
>>
>> Hi,
>>
>> Previously this year, there were 2 attempts to add support for HC5661
>> and HC5761 to OpenWrt trunk [1,2]. I
Hi, hope this comment is not too late :)
On 23 September 2015 at 17:12, Steven Barth wrote:
> Using --dnssec-no-timecheck is impractical since it reacts to SIGHUP which
> is already overloaded and might be triggered by e.g. config changes.
>
Agree. I did not check the source code, but it's bad
Hi,
Previously this year, there were 2 attempts to add support for HC5661
and HC5761 to OpenWrt trunk [1,2]. I only had a HC5661 and it was
quite a while ago but the issues then should still remain.
The first is about how MAC address is to be read. The
"mtd-mac-address" DTS directives apparentl
On 23 September 2015 at 01:52, Bastian Bittorf wrote:
> dnsmasq maintains dnsmasq.time across reboots and uses it as a means of
> determining if current time is good enough to validate dnssec time
> stamps. By including /etc/dnsmasq.time as a time source for sysfixtime,
> the mechanism was effect
Hi, Helmut
On 21 September 2015 at 23:26, Helmut Schaa wrote:
> Extend /etc/config/system with a parameter to enable
> infinite respawn mode:
>
> config system
> option service_endless_respawn 1
>
> All services that don't specify specific respawn parameters
> will get the
On 21 September 2015 at 01:19, John Crispin wrote:
>
>
>
> On 20/09/2015 19:12, Daniel Golle wrote:
>> Hi!
>>
>> I just tested the Chaos Calmer 15.05 release binaries realizing that
>> bug #20542 may render targets having DEVICE_TYPE set to something
>> else than 'router' unreachable due to missin
This is needed for L2TP with xl2tpd daemon.
Signed-off-by: Yousong Zhou
---
Another option would be bump the netifd version to the lastest, but I am a bit
conservative now. That said, I plan to backport xl2tpd from trunk to
packages;for-15.05 after this checkup_interval option will be available
Hi, Derek
On 3 September 2015 at 19:14, Derek Werthmuller wrote:
> Over the past week since the kernel version moved to the 4.x series, new
> built images are not bootable. With the serial console connected it seems
> that its not completing Uboot properly. This is the only output.
> U-Boot SPL
On Sep 1, 2015 8:44 PM, "Florian Fainelli" wrote:
>
> Le 1 sept. 2015 05:22, "Yousong Zhou" a écrit :
> >
> > Signed-off-by: Yousong Zhou
> > ---
> > target/linux/malta/Makefile |1 +
> > 1 file changed, 1 insertion(+)
> >
>
On 1 September 2015 at 20:46, Florian Fainelli wrote:
> Le 1 sept. 2015 05:22, "Yousong Zhou" a écrit :
>>
>> The issue was found and reported by hynman [1] when compiling reaver for
>> ar71xx
>> (Big Endian MIPS).
>>
>> {standard input}: Asse
On 1 September 2015 at 20:22, Felix Fietkau wrote:
> On 2015-09-01 14:14, Yousong Zhou wrote:
>> Signed-off-by: Yousong Zhou
>> ---
>> package/network/services/ppp/files/ppp.sh |4 +---
>> 1 file changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --g
Signed-off-by: Yousong Zhou
---
target/linux/malta/Makefile |1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index 9352dfa..0cce15e 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -8,6 +8,7 @@ include
input}:208: Error: unrecognized opcode `wsbh $2,$2'
make[3]: *** [builder.o] Error 1
[1]
https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931
Signed-off-by: Yousong Zhou
---
...recognized-opcode-WSBH-DSBH-DSHD-when-u
Signed-off-by: Yousong Zhou
---
include/target.mk |1 +
1 file changed, 1 insertion(+)
diff --git a/include/target.mk b/include/target.mk
index 3e7f17d..119f88c 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -212,6 +212,7 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_mips32 = -mips32
Move the pattern setting from netifd's service script to
/etc/sysctl.conf. Put the timestamp component '%t' just after
executable name '%e' for more natural order from output of ls command.
Signed-off-by: Yousong Zhou
---
package/base-files/files/etc/sysctl.
Signed-off-by: Yousong Zhou
---
package/utils/util-linux/Makefile | 17 +
1 file changed, 17 insertions(+)
diff --git a/package/utils/util-linux/Makefile
b/package/utils/util-linux/Makefile
index cf80012..f037e6a 100644
--- a/package/utils/util-linux/Makefile
+++ b/package
Signed-off-by: Yousong Zhou
---
package/network/services/ppp/files/ppp.sh |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/package/network/services/ppp/files/ppp.sh
b/package/network/services/ppp/files/ppp.sh
index a6389a8..b970f29 100755
--- a/package/network/services
This should fix a issue reported in ticket #20387.
Signed-off-by: Yousong Zhou
---
...et-transfer-timeout-according-to-byte_cnt.patch | 36
1 file changed, 36 insertions(+)
create mode 100644
package/boot/uboot-sunxi/patches/004-sunxi-mmc-set-transfer-timeout-according
On 27 August 2015 at 17:29, John Crispin wrote:
>
>
> On 27/08/2015 10:50, Dirk Neukirchen wrote:
>> On 27.08.2015 09:27, Yousong Zhou wrote:
>>> On 27 August 2015 at 12:02, Dirk Neukirchen wrote:
>>>> - it causes issues with qemu versions < 2.2
>>>
On 27 August 2015 at 12:02, Dirk Neukirchen wrote:
> - it causes issues with qemu versions < 2.2
> should fix issues with Ubuntu 14.03 LTS (qemu 2.0)
> errors are:
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x0004
>
But it's a bug within qemu. I have a simple script [1] f
it by allowing users to configure an timeout value
instructing netifd to check if the interface is in up state after its
last attempt to setup it and try again if that is not the case.
Signed-off-by: Yousong Zhou
---
v2 <- v1
- Cancel checkup_timeout when a) interface goes to S_IDLE st
Signed-off-by: Yousong Zhou
---
device.h|3 +++
interface.c |4 ++--
interface.h |1 +
ubus.c |2 +-
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/device.h b/device.h
index ce135ba..798e19e 100644
--- a/device.h
+++ b/device.h
@@ -160,8 +160,11 @@ struct
On 20 August 2015 at 12:58, Steven Barth wrote:
> Hello Yousong,
>
> thanks for your patch.
>
> Shouldn't there by a timeout cancel path somewhere in case the protocol
> gets removed after the timer was armed but before it was fired?
> I could imagine it causing memory corruption otherwise.
>
Ind
On 14 August 2015 at 01:49, Mathias Kresin wrote:
> Hey Weijie Gao,
>
> 2015-08-05 20:07 GMT+02:00 Weijie Gao :
>
>> This patch adds header version 2 option for mktplinkfw.
>
> As long as we talk about the same, the new header version is v3. The
> v2 header is already covered by mktplinkfw2.c.
>
>
it by allowing users to configure an timeout value
instructing netifd to check if the interface is in up state after its
last attempt to setup it and try again if that is not the case.
Signed-off-by: Yousong Zhou
---
proto-shell.c | 53 +
1
Signed-off-by: Yousong Zhou
---
device.h|3 +++
interface.c |4 ++--
interface.h |1 +
ubus.c |2 +-
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/device.h b/device.h
index ce135ba..798e19e 100644
--- a/device.h
+++ b/device.h
@@ -160,8 +160,11 @@ struct
On 11 August 2015 at 10:00, Yousong Zhou wrote:
> On 2 August 2015 at 19:46, Daniel Dickinson
> wrote:
>> Packages that depend on PolarSSL fail to build because polarssl's InstallDev
>> section never actually gets executed because (prior to this patch) the
>> packa
On 2 August 2015 at 19:46, Daniel Dickinson
wrote:
> Packages that depend on PolarSSL fail to build because polarssl's InstallDev
> section never actually gets executed because (prior to this patch) the package
> name does not match the subdir the package is in (presumably due to upstream
> name c
On 5 August 2015 at 21:03, Baptiste Clenet wrote:
> 2015-08-05 14:58 GMT+02:00 Yousong Zhou :
>> On 5 August 2015 at 16:09, Baptiste Clenet wrote:
>>>
>>> define Build/Compile
>>> $(MAKE) -C $(PKG_BUILD_DIR) \
>>> $(TARGET_CONFIGURE_OPTS) \
&
On 5 August 2015 at 16:09, Baptiste Clenet wrote:
>
> define Build/Compile
> $(MAKE) -C $(PKG_BUILD_DIR) \
> $(TARGET_CONFIGURE_OPTS) \
> CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)" \
> CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR)" \
> LDFLAGS="$(TARGET_LDFLAGS) -L$(PKG_BUILD_DIR) -lcoap"
> en
On 5 August 2015 at 19:43, Baptiste Clenet wrote:
>> - You can check for WITH_POSIX (or other CFLAGS etc. in config.log
> Check it and it is defined.
>> - configure always sets -DWITH_POSIX in CPPFLAGS (see configure.in)
> Yes, it is set also.
>
> Don't know where the problem comes from. It works
On 22 July 2015 at 19:37, Baptiste Clenet wrote:
> Hi,
>
> I would like to change the default values of Uboot when I choose 2 in the
> menu.
> In the below example, I would like to change <1>, <2> and <3> by
> defaults values that I would have set earlier.
>
Looks like it's most likely hardcoded
On 22 July 2015 at 19:34, Tomer Eliyahu wrote:
> Hi,
>
> Sorry if I am repeating this question (I posted it in the developers
> forum and stackoverflow), but I am out of luck for 3 days now and come
> to think it might be an openwrt bug, forgive me if i'm mistaken..
>
> I am writing a GUI for open
On Jul 16, 2015 10:40 PM, "Steven Barth" wrote:
>
> The OpenWrt developers are proud to announce the third release candidate
of OpenWrt Chaos Calmer.
>
Thanks, guys.
regards
yousong
>___ __
> | |.-.-.-.| | | |.--
On Jul 14, 2015 10:56 PM, "Felix Fietkau" wrote:
>
> On 2015-05-24 09:36, Yousong Zhou wrote:
> > - "ifname" for Linux interface name.
> > - "interface" for netifd defined logical interface names as in
> >/etc/config/network.
> >
anch_name
>
> HEAD is now at e3e2b38... Makefile.am: add --with-check to packages target
>
>
> On Mon, Jul 13, 2015 at 8:05 PM, Yousong Zhou wrote:
>>
>>
>> On Jul 13, 2015 6:53 PM, "Pratik Prajapati"
>> wrote:
>> >
>> > Hi,
&g
On Jul 13, 2015 5:12 PM, "Pratik Prajapati"
wrote:
>
> Hi,
>
> What's the difference between following 2 methods in package makefile:
>
> 1) PKG_INSTALL:=1
>
> logs:
> make[2]: Leaving directory
`/home/pratik.prajapati/work/openwrt-radvd/openwrt-tip/openwrt/package/libs/toolchain'
> make[2]: Enter
On Jul 13, 2015 6:53 PM, "Pratik Prajapati"
wrote:
>
> Hi,
>
> I want to build radvd-2.11 package in OpenWrt but i am unable to download
it using Makefile rules.
>
> Makefile:
>
> include $(TOPDIR)/rules.mk
>
> PKG_NAME:=radvd
> PKG_VERSION:=2.11
> PKG_SOURCE_PROTO:=git
>
> PKG_BUILD_DIR:=$(BUILD_
On 8 July 2015 at 14:17, Dirk Neukirchen wrote:
> works with:
> qemu-system-mipsel -M malta \
> -hda openwrt-malta-le-root.ext4 \
> -kernel openwrt-malta-le-vmlinux.elf \
> -nographic -append "root=/dev/sda console=ttyS0"
>
Nice. Never get a chance to play with a real malta board, I have been
wo
On 3 July 2015 at 14:53, LiWeijian wrote:
>
> From: Tom Deng <2579131...@qq.com>
>
> Adding support for OY-0001 Wireless Router.
> OY-0001 is a wireless router made by oyewifi.com. Below is the details:
> MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN.
Hi, PATCH with HTML em
On Jun 19, 2015 9:16 PM, "Rafał Miłecki" wrote:
>
> On 19 June 2015 at 14:44, Yousong Zhou wrote:
> > On 19 June 2015 at 19:34, Rafał Miłecki wrote:
> >> Using pipe automatically switches service to block buffering which kind
> >> of breaks our logging.
On 19 June 2015 at 19:34, Rafał Miłecki wrote:
> Using pipe automatically switches service to block buffering which kind
> of breaks our logging. We won't get anything from FD until the buffer
> gets filled fully or the service exits. This makes log messages appear
> with an unwanted delay.
> Swit
Two patches are dropped as they were already applied upstream.
Signed-off-by: Yousong Zhou
---
v2 <- v1
- Update PKG_MD5SUM
- Refreshed all patches
package/network/services/openvpn/Makefile |6 +--
.../patches/001-backport_cipher_none_fix.patch |
Signed-off-by: Yousong Zhou
---
...ide-wtmp-compatibility-stub-for-Linux-PAM.patch | 104
1 file changed, 104 insertions(+)
create mode 100644
toolchain/musl/patches/200-Provide-wtmp-compatibility-stub-for-Linux-PAM.patch
diff --git
a/toolchain/musl/patches/200-Provide
Two patches are dropped as they were already applied upstream.
Signed-off-by: Yousong Zhou
---
package/network/services/openvpn/Makefile |4 +-
.../patches/001-backport_cipher_none_fix.patch | 57
.../services/openvpn/patches/110-musl_compat.patch | 13
Hi, Ted,
On 15 June 2015 at 04:57, Ted Hess wrote:
> Somewhere in the processing of "procd_set_param command ..." certain
> command-line parameters which have colons (":") get treated as argument
> delimiters. Example:
>
> procd_set_param command "foo -a 200:4:16:0 -o hw:0,0"
>
The correct usage
Signed-off-by: Yousong Zhou
---
package/network/services/openvpn/Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/services/openvpn/Makefile
b/package/network/services/openvpn/Makefile
index 3e9be0d..81d8007 100644
--- a/package/network/services
This is for security precautions. As persist_tun and persist_key are
already there, this should not cause compatibility issue.
Signed-off-by: Yousong Zhou
---
package/network/services/openvpn/files/openvpn.config |2 ++
1 file changed, 2 insertions(+)
diff --git a/package/network/services
As reported in ticket #19104, auth_retry takes a argument with 3
choices: none, nointeract, interact.
Signed-off-by: Yousong Zhou
---
v2 <- v1drop the move of comp_lzo from params to bools
package/network/services/openvpn/files/openvpn.init |4 ++--
1 file changed, 2 inserti
On 14 June 2015 at 21:35, Felix Fietkau wrote:
> On 2015-06-14 06:04, Yousong Zhou wrote:
>> As reported in #19104.
>>
>> Signed-off-by: Yousong Zhou
> comp-lzo does not seem to fit well in the "bool" category, it takes
> "yes", "no", or &
Otherwise we hit max number of fd limit (1024) and instances fail to
start with the following errors in syslog
Sun Jun 14 01:27:38 2015 daemon.warn procd: pipe() failed: 24 (Too many
open files)
Signed-off-by: Yousong Zhou
---
service/instance.c | 14 --
1 file changed, 12
Signed-off-by: Yousong Zhou
---
service/service.c | 33 +++--
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/service/service.c b/service/service.c
index c2a242b..2702dc3 100644
--- a/service/service.c
+++ b/service/service.c
@@ -213,8 +213,17
Signed-off-by: Yousong Zhou
---
service/watch.c |5 -
1 file changed, 5 deletions(-)
diff --git a/service/watch.c b/service/watch.c
index 65e1fec..349b484 100644
--- a/service/watch.c
+++ b/service/watch.c
@@ -26,11 +26,6 @@ struct watch_object {
char *name;
};
-struct
Signed-off-by: Yousong Zhou
---
service/instance.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/service/instance.c b/service/instance.c
index 4ace40b..e89cbc6 100644
--- a/service/instance.c
+++ b/service/instance.c
@@ -917,8 +917,8 @@ void instance_dump(struct
Signed-off-by: Yousong Zhou
---
service/instance.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/service/instance.c b/service/instance.c
index 3367885..4ace40b 100644
--- a/service/instance.c
+++ b/service/instance.c
@@ -366,6 +366,10 @@ instance_stdio
ready free'd
previously.
[1] https://github.com/yousong/waller/tree/master/ossherd
Yousong Zhou (5):
service: optimize relaying stdio output of daemons a bit.
service: dump respawn params in the same order as when passed in.
service: remove unused struct watch_subscribe definition.
They are of 32-bit little endian integers.
Signed-off-by: Yousong Zhou
---
tools/firmware-utils/src/ptgen.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c
index 6379ed7..68bad6f 100644
--- a
301 - 400 of 747 matches
Mail list logo