mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
canutils: Use update-alternatives
canutils provides applications which conflict with can-utils recipe. update-alternatives helps fix this when both are installed Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -12,4 +12,8 @@ PV = "2020.02.04"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools pkgconfig update-alternatives
|
||||
|
||||
ALTERNATIVE_${PN} = "candump cansend"
|
||||
ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
|
||||
ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
|
||||
|
||||
Reference in New Issue
Block a user