iproute2: Fix alternative link for ip command
cover iproute2: Fix alternative link for ip command
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(-)
Signature · 1 line
1.7.9.5
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]
--- meta/recipes-connectivity/iproute2/iproute2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
@@ -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 = ""
Signature · 1 line
1.7.9.5
OK.
-----Original Message-----
From: Yi Zhao [mailto:[email protected]]
Sent: Wednesday, July 17, 2013 12:07 PM
To: [email protected]
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]
--- meta/recipes-connectivity/iproute2/iproute2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/iproute2/iproute2.inc +1 -1
@@ -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