From 197c77b661df3406c14f973a81f48aad443875fc Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 26 Jul 2012 16:09:19 -0700 Subject: patch: cleanup update-alternatives deprecated code (From OE-Core rev: 6a76ad8a45b4e099703c051d759f687904442713) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/patch/patch.inc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'meta/recipes-devtools/patch/patch.inc') 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}" inherit autotools update-alternatives -do_install_append () { - mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN} -} - -ALTERNATIVE_NAME = "patch" -ALTERNATIVE_PATH = "patch.${BPN}" +ALTERNATIVE_${PN} = "patch" ALTERNATIVE_PRIORITY = "100" -- cgit v1.2.3-54-g00ecf