mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
patch: use BPN for alternatives
(From OE-Core rev: aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4547096a41
commit
ad0f8b8673
@@ -10,9 +10,9 @@ S = "${WORKDIR}/patch-${PV}"
|
||||
inherit autotools update-alternatives
|
||||
|
||||
do_install_append () {
|
||||
mv ${D}${bindir}/patch ${D}${bindir}/patch.${PN}
|
||||
mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
|
||||
}
|
||||
|
||||
ALTERNATIVE_NAME = "patch"
|
||||
ALTERNATIVE_PATH = "patch.${PN}"
|
||||
ALTERNATIVE_PATH = "patch.${BPN}"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
Reference in New Issue
Block a user