From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Andreas Oberritter : procps: use update-alternatives for pwdx, pgrep and watch
Date: Sat, 24 Mar 2012 02:41:08 +0100 [thread overview]
Message-ID: <20120324014107.GE4604@jama.jama.net> (raw)
In-Reply-To: <20120323175301.787D61032F@opal>
[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]
On Fri, Mar 23, 2012 at 05:53:01PM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 68dc2a3fa30c03a196d650de34d0c657a7b85454
> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=68dc2a3fa30c03a196d650de34d0c657a7b85454
>
> Author: Andreas Oberritter <obi@opendreambox.org>
> Date: Fri Mar 23 17:37:36 2012 +0100
>
> procps: use update-alternatives for pwdx, pgrep and watch
Good intention but results in this error in opkg upgrade:
update-alternatives: Error: cannot register alternative watch to
/usr/bin/watch since it is already registered to /bin/watch
can you move one of them or move alternative?
fwiw: gentoo also has procps's watch in bindir and busybox's in
base_bindir
Cheers,
>
> * pwdx, pgrep and watch may be provided by busybox.
> * Use update-alternatives to avoid conflict.
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> ---
>
> meta/recipes-extended/procps/procps_3.2.8.bb | 5 +++--
> 1 files changed, 3 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 27d2b5c..683badc 100644
> --- a/meta/recipes-extended/procps/procps_3.2.8.bb
> +++ b/meta/recipes-extended/procps/procps_3.2.8.bb
> @@ -1,11 +1,12 @@
> require procps.inc
>
> -PR = "r5"
> +PR = "r6"
>
> inherit update-alternatives
>
> ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \
> - ${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps"
> + ${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps \
> + ${bindir}/pgrep ${bindir}/pwdx ${bindir}/watch"
> ALTERNATIVE_PRIORITY = "110"
>
> SRC_URI += "file://procmodule.patch \
>
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next parent reply other threads:[~2012-03-24 1:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20120323175301.787D61032F@opal>
2012-03-24 1:41 ` Martin Jansa [this message]
2012-03-24 16:46 ` [oe-commits] Andreas Oberritter : procps: use update-alternatives for pwdx, pgrep and watch Andreas Oberritter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120324014107.GE4604@jama.jama.net \
--to=martin.jansa@gmail.com \
--cc=openembedded-commits@lists.openembedded.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox