[oe] [PATCH] less_436.bb: provide absolute path in ALTERNATIVE_PATH.
Filip Zyzniewski
filip.zyzniewski at gmail.com
Sat Feb 19 20:00:59 UTC 2011
Relative path causes dpkg's update-alternatives to ignore this
alternative.
Signed-off-by: Filip Zyzniewski <filip.zyzniewski at gmail.com>
---
recipes/less/less_436.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/less/less_436.bb b/recipes/less/less_436.bb
index 711abfd..c62c821 100644
--- a/recipes/less/less_436.bb
+++ b/recipes/less/less_436.bb
@@ -5,6 +5,7 @@ HOMEPAGE = "http://www.greenwoodsoftware.com/"
SECTION = "console/utils"
LICENSE = "BSD"
DEPENDS = "ncurses"
+PR = "r1"
SRC_URI = "http://www.greenwoodsoftware.com/less/less-${PV}.tar.gz"
@@ -16,7 +17,7 @@ do_install () {
}
ALTERNATIVE_NAME = "less"
-ALTERNATIVE_PATH = "less.${PN}"
+ALTERNATIVE_PATH = "${bindir}/less.${PN}"
ALTERNATIVE_PRIORITY = "100"
SRC_URI[md5sum] = "817bf051953ad2dea825a1cdf460caa4"
--
1.7.1
More information about the Openembedded-devel
mailing list