[OE-core] [PATCH 02/19] patch: use new update-alternatives
Mark Hatle
mark.hatle at windriver.com
Wed Aug 1 15:13:32 UTC 2012
On 8/1/12 9:12 AM, Morgan Little wrote:
>
> Signed-off-by: Morgan Little <morgan.little at windriver.com>
> ---
> meta/recipes-devtools/patch/patch.inc | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
> index 21c06c6..80e00f6 100644
> --- a/meta/recipes-devtools/patch/patch.inc
> +++ b/meta/recipes-devtools/patch/patch.inc
> @@ -13,6 +13,6 @@
> do_install_append () {
> mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
> }
>
> -ALTERNATIVE_NAME = "patch"
> -ALTERNATIVE_PATH = "patch.${BPN}"
> +ALTERNATIVE_${PN} = "patch"
> +ALTERNATIVE_TARGET[patch] = "$[bindir}/patch.${BPN}"
> ALTERNATIVE_PRIORITY = "100"
>
See the previous.. the do_install_append should be removed, and once that is
done the alternative_target[patch] is no needed.
--Mark
More information about the Openembedded-core
mailing list