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:
Mark Hatle authored and Richard Purdie committed 2012-05-30 12:04:39 +01:00
1 parent 4547096a41
commit ad0f8b8673
1 file changed
+2 -2
+2 -2
View File
@@ -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"