[OE-core] [PATCH 02/19] patch: use new update-alternatives
Morgan Little
morgan.little at windriver.com
Wed Aug 1 14:12:03 UTC 2012
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"
--
1.7.0.4
More information about the Openembedded-core
mailing list