From patchwork Wed Aug 1 14:12:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [02/19] patch: use new update-alternatives Date: Wed, 01 Aug 2012 14:12:03 -0000 From: Morgan Little X-Patchwork-Id: 33535 Message-Id: <1343830340-25351-3-git-send-email-morgan.little@windriver.com> To: Signed-off-by: Morgan Little --- meta/recipes-devtools/patch/patch.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ALTERNATIVE_PRIORITY = "100" 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}"