connect to logd
and re-issue the original request.
Signed-off-by: Zefir Kurtisi
---
v2: in follow mode, don't exit if the initial
ubus lookup for logd fails
log/logread.c | 143 +-
1 file changed, 91 insertions(+), 52 deletions(-)
d
connect to logd
and re-issue the original request.
Signed-off-by: Zefir Kurtisi
---
log/logread.c | 142 +-
1 file changed, 90 insertions(+), 52 deletions(-)
diff --git a/log/logread.c b/log/logread.c
index 784d1f9..99f9948 100644
--- a/log
On 11/20/2017 08:46 PM, Felix Fietkau wrote:
> On 2017-11-20 14:25, Zefir Kurtisi wrote:
>> On 11/20/2017 01:27 PM, Felix Fietkau wrote:
>>> On 2017-11-20 11:20, Zefir Kurtisi wrote:
>>>> PROCD services can't overwrite those functions defined in the
>>&
On 11/20/2017 01:27 PM, Felix Fietkau wrote:
> On 2017-11-20 11:20, Zefir Kurtisi wrote:
>> PROCD services can't overwrite those functions defined in the
>> USE_PROCD body (like stop()), since the initfile is sourced
>> before.
>>
>> This change moves t
PROCD services can't overwrite those functions defined in the
USE_PROCD body (like stop()), since the initfile is sourced
before.
This change moves the sourcing below and with that allows
PROCD init scripts to overwrite them.
Signed-off-by: Zefir Kurtisi
---
package/base-files/file
ot sure if this is on purpose, therefore my proposed change to move the
sourcing of initscript further down is RFC.
Zefir Kurtisi (1):
base-files/etc/rc.common: allow services to overwrite PROCD functions
package/base-files/files/etc/rc.common | 4 ++--
1 file changed, 2 insertions(
On 11/07/2017 09:24 PM, Rosen Penev wrote:
> Less verbose
>
> Signed-off-by: Rosen Penev
> ---
> interface.c | 22 --
> 1 file changed, 8 insertions(+), 14 deletions(-)
>
> diff --git a/interface.c b/interface.c
> index 7f814d2..18dee52 100644
> --- a/interface.c
> +++ b/int
On 03/06/2017 01:15 PM, Jo-Philipp Wich wrote:
> Hi,
>
>> the uci ubus service (part of rpcd) provides the method 'state' which from
>> reading
>> the source code is expected to provide the current state of an option
>> ignoring
>> pending changes.
>
> No it is a method to provide access to the
Hi Jo, all,
the uci ubus service (part of rpcd) provides the method 'state' which from
reading
the source code is expected to provide the current state of an option ignoring
pending changes. At my side it does not (shows the same as 'get'):
> root@LEDE:~# ubus call uci get '{"config":"system", "
On 01/10/2017 09:20 AM, John Crispin wrote:
>
>
> On 10/01/2017 09:17, Baptiste Jonglez wrote:
>> On Tue, Jan 10, 2017 at 07:56:36AM +0100, John Crispin wrote:
> While investigating an issue with module loading order¹, I discovered
> that
> some kernel packages use AutoProbe, like this
^
> ./gencode.c: In function 'gen_gateway':
> ./gencode.c:4914:13: error: 'cstate' undeclared (first use in this function)
>bpf_error(cstate, "direction applied to 'gateway'");
> ^
[1] https://github.com/the-tcpdump-group/libpcap/pull/541
On 12/07/2016 07:44 PM, Rafał Miłecki wrote:
> On 7 December 2016 at 16:44, Karl Palsson wrote:
>> How is this different from just reverting the commit that stopped
>> this from working? I'm all for this, don't get me wrong, but if a
>> package can just explicitly define a file as "this overwrites
On 12/01/2016 10:29 PM, Rafał Miłecki wrote:
> On 1 December 2016 at 12:48, Zefir Kurtisi wrote:
>> On 12/01/2016 08:28 AM, Rafał Miłecki wrote:
>>> So you still may end up with base-files installed and /etc/banner
>>> being different. If you re-install that package,
On 12/01/2016 08:28 AM, Rafał Miłecki wrote:
> On 28 November 2016 at 09:33, Zefir Kurtisi wrote:
>> We had the approach you describe for a long time (company-basefiles adding
>> to and
>> overwriting files in base-files package), but this does not work any more.
>>
On 11/25/2016 08:14 AM, Rafał Miłecki wrote:
> On 16 October 2016 at 01:04, Jo-Philipp Wich wrote:
>> let me introduce a not strictly new way but another heavily under
>> documented buildroot feature which you can use to implement custom
>> modifications to packages which do not require source cod
On 10/28/2016 05:21 PM, Jo-Philipp Wich wrote:
> Hi Zefir,
>
> what do you mean with overlay patches exactly?
>
> ~ Jo
>
I mean adding some private patches on top of those already contained in the
package's patches directory without touching the package itself. I thought the
same overlay mechani
On 10/17/2016 11:38 AM, Zefir Kurtisi wrote:
> On 10/16/2016 01:04 AM, Jo-Philipp Wich wrote:
>> Hi Karl,
>>
>> let me introduce a not strictly new way but another heavily under
>> documented buildroot feature which you can use to implement custom
>> modifications
On 10/19/2016 07:12 PM, Alexandru Ardelean wrote:
> On Tue, Oct 18, 2016 at 2:09 PM, Zefir Kurtisi
> wrote:
>>
>> Hi,
>>
>> to those understanding the package dependency logic by heart, I'm trying to
>> achieve something I assumed to be common, but fail
Hi,
to those understanding the package dependency logic by heart, I'm trying to
achieve something I assumed to be common, but fail to get there with the help of
the available documentation.
The short version is this:
* package A has an optional feature X provided by package B
* package B is optio
On 10/16/2016 01:04 AM, Jo-Philipp Wich wrote:
> Hi Karl,
>
> let me introduce a not strictly new way but another heavily under
> documented buildroot feature which you can use to implement custom
> modifications to packages which do not require source code edits.
>
Wow! - this really deserves an
]
#define DEBUG(level, fmt, ...) do { \
^
:0:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
This patch fixes the issue by renaming the build flag to
UDEV_DEBUG (since it is only used in udevtrigger).
Signed-off-by: Zefir Kurtisi
---
Cha
In addition to the existing 'start' and 'stop',
this commit adds 'respawn' and 'fail' events
to allow system monitors to detect and handle
unstable processes.
Signed-off-by: Zefir Kurtisi
---
service/instance.c | 2 ++
1 file changed, 2 insertions(+)
d
]
#define DEBUG(level, fmt, ...) do { \
^
:0:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
This patch fixes the issue by undefining the initial boolean
flag before it is set to the debug log macro.
Signed-off-by: Zefir Kurtisi
---
jail
to be sorted
and prevents that false warning.
Signed-off-by: Zefir Kurtisi
---
scripts/package-metadata.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl
index 44494ef..0b8f983 100755
--- a/scripts/package-metadata.pl
On 10/07/2016 03:19 PM, Zefir Kurtisi wrote:
> On 10/07/2016 02:15 PM, Alexandru Ardelean wrote:
>> On Fri, Oct 7, 2016 at 3:09 PM, Felix Fietkau wrote:
>>> Instead of introducing yet another timer, wouldn't it also be possible
>>> to close this race window by regi
On 10/07/2016 02:15 PM, Alexandru Ardelean wrote:
> On Fri, Oct 7, 2016 at 3:09 PM, Felix Fietkau wrote:
>> Instead of introducing yet another timer, wouldn't it also be possible
>> to close this race window by registering the event handler before
>> attempting the lookup?
>>
>> - Felix
>>
>>
n mentioned above. This commit adds periodic lookup
for the requested services while waiting for the 'add' event
and with that fixes the observed failure.
Signed-off-by: Zefir Kurtisi
---
This patch was already posted on the OWRT mailing list like
half a year ago and remained as
On 10/03/2016 01:00 PM, Jan-Tarek Butt wrote:
> Hi,
>
> My Idea ist to create calldefs to minify all scriptes there are
> interpreted by run time.
>
> As example see the mail "[PATCH] LuaSrcDiet call define for lua
> code Minifying".
>
> I plan to write also calldefs for shellscripts, python a
28 matches
Mail list logo