diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2013-07-17 17:06:57 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-18 07:16:17 -0700 |
commit | b45f322abfa72fb0330aac9a1e4c86aebcc4598e (patch) | |
tree | 2db0cff42f8335859b7b11706d7d844bdd6faf97 /meta/recipes-connectivity/iproute2/iproute2.inc | |
parent | b4ecf65e20a63d11f14483d213a3931f39225cdd (diff) | |
download | openembedded-core-b45f322abfa72fb0330aac9a1e4c86aebcc4598e.tar.gz openembedded-core-b45f322abfa72fb0330aac9a1e4c86aebcc4598e.tar.bz2 openembedded-core-b45f322abfa72fb0330aac9a1e4c86aebcc4598e.zip |
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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2.inc')
-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" 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 = "" |