diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-05-22 12:37:16 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 12:04:38 +0100 |
commit | 4966bc58098ec5c983dc692327491d53b65c4b6b (patch) | |
tree | a63cfb1062f2385efda46fa3d9a33d1644613ae1 | |
parent | e4449c91fb29c4c6516fda1ac52cee84136b03c3 (diff) | |
download | ast2050-yocto-poky-4966bc58098ec5c983dc692327491d53b65c4b6b.zip ast2050-yocto-poky-4966bc58098ec5c983dc692327491d53b65c4b6b.tar.gz |
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>
-rw-r--r-- | meta/recipes-extended/which/which_2.18.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/which/which_2.20.bb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-extended/which/which_2.18.bb b/meta/recipes-extended/which/which_2.18.bb index f87929b..d54e776 100644 --- a/meta/recipes-extended/which/which_2.18.bb +++ b/meta/recipes-extended/which/which_2.18.bb @@ -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" diff --git a/meta/recipes-extended/which/which_2.20.bb b/meta/recipes-extended/which/which_2.20.bb index a4e860b..9b43943 100644 --- a/meta/recipes-extended/which/which_2.20.bb +++ b/meta/recipes-extended/which/which_2.20.bb @@ -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" |