* [PATCH] procps: raise update-alternatives priority
@ 2011-12-31 16:04 Koen Kooi
2011-12-31 20:13 ` Otavio Salvador
2012-01-03 22:22 ` Saul Wold
0 siblings, 2 replies; 5+ messages in thread
From: Koen Kooi @ 2011-12-31 16:04 UTC (permalink / raw)
To: openembedded-core; +Cc: Koen Kooi
This fixes a problem with the uptime utility:
root@beagleboneA3-0088:/var/lib/cloud9# busybox uptime
16:00:17 up 2 days, 6:46, load average: 0.14, 0.04, 0.05
root@beagleboneA3-0088:/var/lib/cloud9# uptime.procps
16:00:22 up 2 days, 6:46, 1 user, load average: 0.14, 0.05, 0.06
root@beagleboneA3-0088:/var/lib/cloud9# uptime.coreutils
16:00pm up 4382 days 15:58, 1 user, load average: 0.13, 0.05, 0.05
root@beagleboneA3-0088:/var/lib/cloud9# ls /usr/bin/uptime -la
lrwxrwxrwx 1 root root 16 Dec 26 08:56 /usr/bin/uptime -> uptime.coreutils
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
meta/recipes-extended/procps/procps_3.2.8.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
index d989955..6a41ccd 100644
--- a/meta/recipes-extended/procps/procps_3.2.8.bb
+++ b/meta/recipes-extended/procps/procps_3.2.8.bb
@@ -1,12 +1,12 @@
require procps.inc
-PR = "r3"
+PR = "r4"
inherit update-alternatives
ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \
${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps"
-ALTERNATIVE_PRIORITY = "90"
+ALTERNATIVE_PRIORITY = "110"
SRC_URI += "file://procmodule.patch \
file://psmodule.patch \
--
1.7.2.5
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] procps: raise update-alternatives priority
2011-12-31 16:04 [PATCH] procps: raise update-alternatives priority Koen Kooi
@ 2011-12-31 20:13 ` Otavio Salvador
2011-12-31 21:58 ` Koen Kooi
2012-01-03 22:22 ` Saul Wold
1 sibling, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2011-12-31 20:13 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
On Sat, Dec 31, 2011 at 14:04, Koen Kooi <koen@dominion.thruhere.net> wrote:
> This fixes a problem with the uptime utility:
>
This fixes nothing; this is a workaround.
It would be better to find why this fails instead of changing it.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
[-- Attachment #2: Type: text/html, Size: 921 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] procps: raise update-alternatives priority
2011-12-31 16:04 [PATCH] procps: raise update-alternatives priority Koen Kooi
2011-12-31 20:13 ` Otavio Salvador
@ 2012-01-03 22:22 ` Saul Wold
2012-01-03 23:16 ` Koen Kooi
1 sibling, 1 reply; 5+ messages in thread
From: Saul Wold @ 2012-01-03 22:22 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On 12/31/2011 08:04 AM, Koen Kooi wrote:
> This fixes a problem with the uptime utility:
>
> root@beagleboneA3-0088:/var/lib/cloud9# busybox uptime
> 16:00:17 up 2 days, 6:46, load average: 0.14, 0.04, 0.05
> root@beagleboneA3-0088:/var/lib/cloud9# uptime.procps
> 16:00:22 up 2 days, 6:46, 1 user, load average: 0.14, 0.05, 0.06
> root@beagleboneA3-0088:/var/lib/cloud9# uptime.coreutils
> 16:00pm up 4382 days 15:58, 1 user, load average: 0.13, 0.05, 0.05
> root@beagleboneA3-0088:/var/lib/cloud9# ls /usr/bin/uptime -la
> lrwxrwxrwx 1 root root 16 Dec 26 08:56 /usr/bin/uptime -> uptime.coreutils
>
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
> meta/recipes-extended/procps/procps_3.2.8.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
> index d989955..6a41ccd 100644
> --- a/meta/recipes-extended/procps/procps_3.2.8.bb
> +++ b/meta/recipes-extended/procps/procps_3.2.8.bb
> @@ -1,12 +1,12 @@
> require procps.inc
>
> -PR = "r3"
> +PR = "r4"
>
> inherit update-alternatives
>
> ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \
> ${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps"
> -ALTERNATIVE_PRIORITY = "90"
> +ALTERNATIVE_PRIORITY = "110"
>
> SRC_URI += "file://procmodule.patch \
> file://psmodule.patch \
Merged to OE-Core.
Is there a bug filed against coreutils uptime?
Thanks
Sau!
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] procps: raise update-alternatives priority
2012-01-03 22:22 ` Saul Wold
@ 2012-01-03 23:16 ` Koen Kooi
0 siblings, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2012-01-03 23:16 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1853 bytes --]
Op 3 jan. 2012, om 23:22 heeft Saul Wold het volgende geschreven:
> On 12/31/2011 08:04 AM, Koen Kooi wrote:
>> This fixes a problem with the uptime utility:
>>
>> root@beagleboneA3-0088:/var/lib/cloud9# busybox uptime
>> 16:00:17 up 2 days, 6:46, load average: 0.14, 0.04, 0.05
>> root@beagleboneA3-0088:/var/lib/cloud9# uptime.procps
>> 16:00:22 up 2 days, 6:46, 1 user, load average: 0.14, 0.05, 0.06
>> root@beagleboneA3-0088:/var/lib/cloud9# uptime.coreutils
>> 16:00pm up 4382 days 15:58, 1 user, load average: 0.13, 0.05, 0.05
>> root@beagleboneA3-0088:/var/lib/cloud9# ls /usr/bin/uptime -la
>> lrwxrwxrwx 1 root root 16 Dec 26 08:56 /usr/bin/uptime -> uptime.coreutils
>>
>> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
>> ---
>> meta/recipes-extended/procps/procps_3.2.8.bb | 4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
>> index d989955..6a41ccd 100644
>> --- a/meta/recipes-extended/procps/procps_3.2.8.bb
>> +++ b/meta/recipes-extended/procps/procps_3.2.8.bb
>> @@ -1,12 +1,12 @@
>> require procps.inc
>>
>> -PR = "r3"
>> +PR = "r4"
>>
>> inherit update-alternatives
>>
>> ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \
>> ${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps"
>> -ALTERNATIVE_PRIORITY = "90"
>> +ALTERNATIVE_PRIORITY = "110"
>>
>> SRC_URI += "file://procmodule.patch \
>> file://psmodule.patch \
>
> Merged to OE-Core.
>
> Is there a bug filed against coreutils uptime?
Not yet, but systemd suffers from the same, I'm going to look into it after the holidays and pester Karel and Lennart, they are both in #systemd :)
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 169 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-03 23:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-31 16:04 [PATCH] procps: raise update-alternatives priority Koen Kooi
2011-12-31 20:13 ` Otavio Salvador
2011-12-31 21:58 ` Koen Kooi
2012-01-03 22:22 ` Saul Wold
2012-01-03 23:16 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox