summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch/patch.inc
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:09:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:28 +0100
commit197c77b661df3406c14f973a81f48aad443875fc (patch)
tree9605eae1f450c75e321d019781b1f7afe22e70ff /meta/recipes-devtools/patch/patch.inc
parentcc0c08fa2c902f723e3036753d3d8d9e1577731b (diff)
downloadpoky-197c77b661df3406c14f973a81f48aad443875fc.tar.gz
patch: cleanup update-alternatives deprecated code
(From OE-Core rev: 6a76ad8a45b4e099703c051d759f687904442713) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/patch/patch.inc')
-rw-r--r--meta/recipes-devtools/patch/patch.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index 21c06c64b5..332b97a85e 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -9,10 +9,5 @@ S = "${WORKDIR}/patch-${PV}"
9 9
10inherit autotools update-alternatives 10inherit autotools update-alternatives
11 11
12do_install_append () { 12ALTERNATIVE_${PN} = "patch"
13 mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
14}
15
16ALTERNATIVE_NAME = "patch"
17ALTERNATIVE_PATH = "patch.${BPN}"
18ALTERNATIVE_PRIORITY = "100" 13ALTERNATIVE_PRIORITY = "100"