[oe-commits] Yue Tao : postgresql: set the tclsh as target path

git at git.openembedded.org git at git.openembedded.org
Wed Sep 23 13:41:11 UTC 2015


Module: meta-openembedded.git
Branch: master
Commit: 11d91e658ff2f9c38481f96c7b162ef6883da023
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=11d91e658ff2f9c38481f96c7b162ef6883da023

Author: Yue Tao <Yue.Tao at windriver.com>
Date:   Sun Sep  6 13:27:10 2015 +0800

postgresql: set the tclsh as target path

The tclsh path in pltcl_listmod is set to sysroot, which causes pltcl_listmod
to fails to run on target, so fix the path to /usr/bin/tclsh.
    $ pltcl_listmod
    /usr/bin/pltcl_listmod: line 5: /buildarea1/WRLinux70-STD-0825/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tclsh: No such file or directory
    $

Signed-off-by: Yue Tao <Yue.Tao at windriver.com>
Signed-off-by: Roy Li <rongqing.li at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-support/postgresql/postgresql.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index 15fb7c7..2b8db34 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -139,6 +139,7 @@ do_configure() {
 	    -e "/^perl_embed_ldflags/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
 	    -e "/^perl_embed_ldflags/s:${LIBNA}:${STAGING_LIBDIR}:g"  \
 	    -e "/^perl_embed_ldflags/s:${BLIBNA}:${STAGING_BASELIBDIR}:g" \
+	    -e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \
 	${B}/src/Makefile.global
 
 	# workaround perl package's libperl.so problem



More information about the Openembedded-commits mailing list