diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2013-07-17 17:06:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-18 21:23:46 +0100 |
commit | 37784b9822c95e9c713dd5813d9ac3e65087b6e4 (patch) | |
tree | 08c50376aad95ac88a6ec3d3a4e9184acdfe9af3 /meta | |
parent | 26207e241ddc469b951ffea26dfc0661817d124d (diff) | |
download | poky-37784b9822c95e9c713dd5813d9ac3e65087b6e4.tar.gz |
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]
(From OE-Core rev: b45f322abfa72fb0330aac9a1e4c86aebcc4598e)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index fb233ebd43..3db21db8d9 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" | |||
31 | 31 | ||
32 | ALTERNATIVE_${PN} = "ip" | 32 | ALTERNATIVE_${PN} = "ip" |
33 | ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" | 33 | ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" |
34 | ALTERNATIVE_LINK_NAME[ip] = "${base_bindir}/ip" | 34 | ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip" |
35 | ALTERNATIVE_PRIORITY = "100" | 35 | ALTERNATIVE_PRIORITY = "100" |
36 | 36 | ||
37 | PARALLEL_MAKE = "" | 37 | PARALLEL_MAKE = "" |