1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

which: use BPN for alternatives

(From OE-Core rev: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80)

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
2012-05-22 12:37:16 -05:00
committed by Richard Purdie
parent e4449c91fb
commit 4966bc5809
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -27,10 +27,10 @@ do_configure_prepend() {
sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}`
}
do_install_append() {
mv ${D}/${bindir}/which ${D}/${bindir}/which.${PN}
mv ${D}/${bindir}/which ${D}/${bindir}/which.${BPN}
}
ALTERNATIVE_NAME = "which"
ALTERNATIVE_PATH = "which.${PN}"
ALTERNATIVE_PATH = "which.${BPN}"
ALTERNATIVE_PRIORITY = "100"
+2 -2
View File
@@ -24,9 +24,9 @@ do_configure_prepend() {
do_install() {
autotools_do_install
mv ${D}${bindir}/which ${D}${bindir}/which.${PN}
mv ${D}${bindir}/which ${D}${bindir}/which.${BPN}
}
ALTERNATIVE_NAME = "which"
ALTERNATIVE_PATH = "which.${PN}"
ALTERNATIVE_PATH = "which.${BPN}"
ALTERNATIVE_PRIORITY = "100"