From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] iproute2: create symbol link '/bin/ip' to '/sbin/ip.iproute2'
Date: Wed, 11 Jul 2018 10:41:11 +0200 [thread overview]
Message-ID: <20180711104111.722b3643@t460p> (raw)
In-Reply-To: <20180711060118.30193-1-Haiqing.Bai@windriver.com>
On Wed, 11 Jul 2018 14:01:17 +0800
Haiqing Bai <Haiqing.Bai@windriver.com> wrote:
> Some applications which depend on iproute/iproute2 need to
> run '/sbin/ip.iproute2' through the symbol link '/bin/ip'
> e.g ifupdown.
Update-alternatives is supposed to create this link already.
>
> Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
> ---
> meta/recipes-connectivity/iproute2/iproute2.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
> index 4fbfec6f08..71d04a1021 100644
> --- a/meta/recipes-connectivity/iproute2/iproute2.inc
> +++ b/meta/recipes-connectivity/iproute2/iproute2.inc
> @@ -29,6 +29,8 @@ do_configure_append () {
> do_install () {
> oe_runmake DESTDIR=${D} install
> mv ${D}${base_sbindir}/ip ${D}${base_sbindir}/ip.iproute2
> + install -d ${D}${base_bindir}
> + ln -s ${base_sbindir}/ip.iproute2 ${D}${base_bindir}/ip
> install -d ${D}${datadir}
> mv ${D}/share/* ${D}${datadir}/ || true
> rm ${D}/share -rf || true
next prev parent reply other threads:[~2018-07-11 8:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-11 6:01 [PATCH] iproute2: create symbol link '/bin/ip' to '/sbin/ip.iproute2' Haiqing Bai
2018-07-11 8:41 ` Andreas Oberritter [this message]
2018-07-12 20:19 ` Randy MacLeod
2018-07-13 2:06 ` Bai, Haiqing
2018-07-13 9:14 ` 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=20180711104111.722b3643@t460p \
--to=obi@opendreambox.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