diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 16:09:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:38 +0100 |
commit | 6a76ad8a45b4e099703c051d759f687904442713 (patch) | |
tree | 6d4a46e0772c8301891df21945f309d11800e436 /meta/recipes-devtools/patch/patch.inc | |
parent | fc408785ed2b9be00b25a725e666f6428292a418 (diff) | |
download | openembedded-core-6a76ad8a45b4e099703c051d759f687904442713.tar.gz openembedded-core-6a76ad8a45b4e099703c051d759f687904442713.tar.bz2 openembedded-core-6a76ad8a45b4e099703c051d759f687904442713.zip |
patch: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/patch/patch.inc')
-rw-r--r-- | meta/recipes-devtools/patch/patch.inc | 7 |
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}" 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" |