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>
This commit is contained in:
parent
26207e241d
commit
37784b9822
|
@ -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 = ""
|
||||
|
|
Loading…
Reference in New Issue