aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/update-alternatives/update-alternatives-cworth.inc
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2009-11-18 03:53:23 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2010-01-07 12:58:16 +0100
commit758da30df2ca3abbdad24c972f590eaa40e70930 (patch)
tree2953ca2a10237aa98e4168b1edfa10ffd6e641b5 /recipes/update-alternatives/update-alternatives-cworth.inc
parent1700b4c84455186bc1d2f80bfc4ea65b51736cdb (diff)
downloadopenembedded-758da30df2ca3abbdad24c972f590eaa40e70930.tar.gz
update-alternatives-cworth: use latest installed alternative
* if there is more alternatives with higest priority, use the one last in alternatives file (latest installed) * if target exists and its directory, remove link, otherwise new alternative link is created inside that direstory Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/update-alternatives/update-alternatives-cworth.inc')
-rw-r--r--recipes/update-alternatives/update-alternatives-cworth.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/update-alternatives/update-alternatives-cworth.inc b/recipes/update-alternatives/update-alternatives-cworth.inc
index f23bfe8bb4..2d8fd42c0c 100644
--- a/recipes/update-alternatives/update-alternatives-cworth.inc
+++ b/recipes/update-alternatives/update-alternatives-cworth.inc
@@ -1,7 +1,8 @@
LICENSE = "GPL"
SECTION = "base"
-SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')}"
+SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')} \
+ file://update-alternatives.use.last.patch;patch=1"
S = "${WORKDIR}/ipkg/C"
PACKAGE_ARCH = "all"
-PR = "r1"
+INC_PR = "r3"