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>
This commit is contained in:
Saul Wold authored and Richard Purdie committed 2012-08-15 14:26:28 +01:00
1 parent cc0c08fa2c
commit 197c77b661
3 files changed
+3 -8

No files matched your search

+1 -6
View File
@@ -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"
+1 -1
View File
@@ -5,7 +5,7 @@ SRC_URI += " file://debian.patch \
file://install.patch \
file://unified-reject-files.diff \
file://global-reject-file.diff "
PR = "r2"
PR = "r3"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI[md5sum] = "dacfb618082f8d3a2194601193cf8716"
+1 -1
View File
@@ -1,7 +1,7 @@
require patch.inc
LICENSE = "GPLv3"
PR = "r0"
PR = "r1"
SRC_URI += " file://global-reject-file.diff "