Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] iproute2: Fix alternative link for ip command
@ 2013-07-17  9:06 Yi Zhao
  2013-07-17  9:06 ` [PATCH 1/1] " Yi Zhao
  0 siblings, 1 reply; 3+ messages in thread
From: Yi Zhao @ 2013-07-17  9:06 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 3dee534f1e25109e0bdb681de0746c336f4b8840:

  lib/oeqa: fix dependecy check (2013-07-16 10:04:17 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib yizhao/bug4855v3
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=yizhao/bug4855v3

Yi Zhao (1):
  iproute2: Fix alternative link for ip command

 meta/recipes-connectivity/iproute2/iproute2.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] iproute2: Fix alternative link for ip command
  2013-07-17  9:06 [PATCH 0/1] iproute2: Fix alternative link for ip command Yi Zhao
@ 2013-07-17  9:06 ` Yi Zhao
  2013-07-17 10:16   ` Iorga, Cristian
  0 siblings, 1 reply; 3+ messages in thread
From: Yi Zhao @ 2013-07-17  9:06 UTC (permalink / raw)
  To: openembedded-core

In busybox the default location of symbolic link for command ip is
/sbin/ip. But in iproute2, the alternatvie link for ip is /bin/ip.
It will cause an error when running update-alternatives:
Cannot register alternative ip to /bin/ip since it is already registered
to /sbin/ip.

[YOCTO #4855]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index fb233eb..3db21db 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -31,7 +31,7 @@ FILES_${PN}-dbg += "${libdir}/tc/.debug"
 
 ALTERNATIVE_${PN} = "ip"
 ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"
-ALTERNATIVE_LINK_NAME[ip] = "${base_bindir}/ip"
+ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip"
 ALTERNATIVE_PRIORITY = "100"
 
 PARALLEL_MAKE = ""
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] iproute2: Fix alternative link for ip command
  2013-07-17  9:06 ` [PATCH 1/1] " Yi Zhao
@ 2013-07-17 10:16   ` Iorga, Cristian
  0 siblings, 0 replies; 3+ messages in thread
From: Iorga, Cristian @ 2013-07-17 10:16 UTC (permalink / raw)
  To: Yi Zhao, openembedded-core@lists.openembedded.org

OK.

-----Original Message-----
From: Yi Zhao [mailto:yi.zhao@windriver.com] 
Sent: Wednesday, July 17, 2013 12:07 PM
To: openembedded-core@lists.openembedded.org
Cc: Iorga, Cristian
Subject: [PATCH 1/1] iproute2: Fix alternative link for ip command

In busybox the default location of symbolic link for command ip is /sbin/ip. But in iproute2, the alternatvie link for ip is /bin/ip.
It will cause an error when running update-alternatives:
Cannot register alternative ip to /bin/ip since it is already registered to /sbin/ip.

[YOCTO #4855]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index fb233eb..3db21db 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -31,7 +31,7 @@ FILES_${PN}-dbg += "${libdir}/tc/.debug"
 
 ALTERNATIVE_${PN} = "ip"
 ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"
-ALTERNATIVE_LINK_NAME[ip] = "${base_bindir}/ip"
+ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip"
 ALTERNATIVE_PRIORITY = "100"
 
 PARALLEL_MAKE = ""
--
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-17 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-17  9:06 [PATCH 0/1] iproute2: Fix alternative link for ip command Yi Zhao
2013-07-17  9:06 ` [PATCH 1/1] " Yi Zhao
2013-07-17 10:16   ` Iorga, Cristian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox