aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortolkien-joh <yong-il.joh@windriver.com>2016-09-09 10:35:29 +0900
committerGitHub <noreply@github.com>2016-09-09 10:35:29 +0900
commite9c6aa113d091b2de7b4aac1d19d8502271bb7f1 (patch)
tree88965a3e1332db7250c486a9fa5df167a989e659
parent28b25ef27eccc0a800a1cbd3d3ea2c8f8494ca1e (diff)
parent6be09281ac614cfdc92cf08fd584914d97818c1c (diff)
downloadmeta-ivi-e9c6aa113d091b2de7b4aac1d19d8502271bb7f1.tar.gz
meta-ivi-e9c6aa113d091b2de7b4aac1d19d8502271bb7f1.tar.bz2
meta-ivi-e9c6aa113d091b2de7b4aac1d19d8502271bb7f1.zip
Merge pull request #18 from tolkien-joh/capicxx-native-fix
Capicxx native fix
-rw-r--r--meta-ivi/recipes-extended/common-api/capicxx-native.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-ivi/recipes-extended/common-api/capicxx-native.inc b/meta-ivi/recipes-extended/common-api/capicxx-native.inc
index 19b22e3..f3300bd 100644
--- a/meta-ivi/recipes-extended/common-api/capicxx-native.inc
+++ b/meta-ivi/recipes-extended/common-api/capicxx-native.inc
@@ -25,6 +25,14 @@ S = "${WORKDIR}"
DD = "${D}${datadir}/${PN}-${PV}"
do_install() {
+ # work around for java-8
+ java_version=`java -version 2>&1 | head -n 1 | grep '[ "]1\.8[\. "$$]'`
+ if [ "x${java_version}" != "x" ]; then
+ for i in x86 x86_64; do
+ perl -pi -e 's|-XX:PermSize=128m||' ${S}/${LAUNCHER_BASE}-linux-${i}.ini
+ done
+ fi
+
install -d ${DD}
install -m 0644 ${S}/artifacts.xml ${DD}
install -m 0755 ${S}/${LAUNCHER_BASE}-linux-x86 ${DD}