summaryrefslogtreecommitdiff
path: root/recipes/update-alternatives
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-05-24 13:01:00 -0700
committerChris Larson <chris_larson@mentor.com>2010-05-25 12:54:52 -0700
commit6fe7cef27069415f2eba36bc640cf59013d4979b (patch)
treeb0cb8845ddc6b8bcffc50e08a2eeae98e049be98 /recipes/update-alternatives
parentbf7d0467a0788a7fcc1c96e0dc35a25ae09278a0 (diff)
Make the do_patch apply=yes param implicit if extension is .diff/.patch
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/update-alternatives')
-rw-r--r--recipes/update-alternatives/update-alternatives-cworth.inc4
-rw-r--r--recipes/update-alternatives/update-alternatives-dpkg.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/update-alternatives/update-alternatives-cworth.inc b/recipes/update-alternatives/update-alternatives-cworth.inc
index db0f8bc176..7fe7795b33 100644
--- a/recipes/update-alternatives/update-alternatives-cworth.inc
+++ b/recipes/update-alternatives/update-alternatives-cworth.inc
@@ -1,8 +1,8 @@
LICENSE = "GPL"
SECTION = "base"
SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')} \
- file://update-alternatives.use.last.patch;apply=yes \
- file://use-opkg-dir-instead-of-ipkg.patch;apply=yes "
+ file://update-alternatives.use.last.patch \
+ file://use-opkg-dir-instead-of-ipkg.patch "
S = "${WORKDIR}/ipkg/C"
PACKAGE_ARCH = "all"
diff --git a/recipes/update-alternatives/update-alternatives-dpkg.inc b/recipes/update-alternatives/update-alternatives-dpkg.inc
index cc2bb5a377..e7bd90d7f4 100644
--- a/recipes/update-alternatives/update-alternatives-dpkg.inc
+++ b/recipes/update-alternatives/update-alternatives-dpkg.inc
@@ -4,7 +4,7 @@ SRC_URI += "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz"
S = "${WORKDIR}/dpkg-${PV}"
PACKAGE_ARCH = "all"
-SRC_URI += "file://paths.patch;apply=yes"
+SRC_URI += "file://paths.patch"
do_patch_append () {
import shutil