exit with an error if the JVM crashes and chdir to /tmp before running it,
so we don't get a stale java.core in pkgdb.
This commit is contained in:
parent
dcdecb80a0
commit
f00e327ab2
2 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: INSTALL,v 1.2 2013/03/02 18:04:31 joerg Exp $
|
||||
# $NetBSD: INSTALL,v 1.3 2015/10/20 08:20:29 tnn Exp $
|
||||
|
||||
case ${STAGE} in
|
||||
POST-INSTALL)
|
||||
${PREFIX}/bin/sun6-java -Xshare:dump -mx128m
|
||||
cd /tmp && ${PREFIX}/bin/sun6-java \
|
||||
-Xshare:dump -XX:+UseSerialGC -Xmx256M || exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: INSTALL,v 1.2 2013/03/02 18:04:31 joerg Exp $
|
||||
# $NetBSD: INSTALL,v 1.3 2015/10/20 08:20:29 tnn Exp $
|
||||
|
||||
case ${STAGE} in
|
||||
POST-INSTALL)
|
||||
${PREFIX}/bin/sun7-java -Xshare:dump -mx128m
|
||||
cd /tmp && ${PREFIX}/bin/sun7-java \
|
||||
-Xshare:dump -XX:+UseSerialGC -Xmx256M || exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue