summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-04-16 18:16:29 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 23:16:29 +0100
commitfcd707ed4b0d1270ad6e8e9da1531de95cf091ec (patch)
treecb9a12ebfc0fd216cf2a1c7c09013693031d3555
parent20ff9db92165e6d16897671d2b1d370661962712 (diff)
downloadpoky-fcd707ed4b0d1270ad6e8e9da1531de95cf091ec.tar.gz
poky-fcd707ed4b0d1270ad6e8e9da1531de95cf091ec.tar.bz2
poky-fcd707ed4b0d1270ad6e8e9da1531de95cf091ec.zip
lrzsz: sz, sx and sb were linked incorrectly
The sz, sx and sb links were created incorrectly to lrz, they should point to lsz. (From OE-Core rev: 663b608357b86aba5cdf7f07291893725e579b75) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb12
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
index 414f2f4a3b..7f861575ec 100644
--- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f"
SECTION = "console/network"
DEPENDS = ""
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
file://autotools.patch \
@@ -28,13 +28,19 @@ do_install() {
}
pkg_postinst_${PN}() {
- for util in rz rx rb sz sx sb; do
+ for util in rz rx rb; do
update-alternatives --install ${bindir}/$util $util lrz 100
done
+ for util in sz sx sb; do
+ update-alternatives --install ${bindir}/$util $util lsz 100
+ done
}
pkg_postrm_${PN}() {
- for util in rz rx rb sz sx sb; do
+ for util in rz rx rb; do
update-alternatives --remove $util ${bindir}/lrz
done
+ for util sz sx sb; do
+ update-alternatives --remove $util ${bindir}/lsz
+ done
}