/hg/icedtea7-forest/jdk: PR1903: [REGRESSION] Bug reports now la...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Wed Aug 13 14:50:55 UTC 2014


changeset 21eee0ed9be9 in /hg/icedtea7-forest/jdk
details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=21eee0ed9be9
author: andrew
date: Wed Aug 13 15:49:21 2014 +0100

	PR1903: [REGRESSION] Bug reports now lack IcedTea version & distribution packaging information


diffstat:

 make/jdk_generic_profile.sh |  28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diffs (35 lines):

diff -r c8f2b525a839 -r 21eee0ed9be9 make/jdk_generic_profile.sh
--- a/make/jdk_generic_profile.sh	Mon Aug 11 16:38:08 2014 +0100
+++ b/make/jdk_generic_profile.sh	Wed Aug 13 15:49:21 2014 +0100
@@ -570,3 +570,31 @@
 
 # IcedTea default; turn on the ARM32 JIT
 export ARM32JIT=true
+
+# IcedTea versioning
+export ICEDTEA_NAME="IcedTea"
+export PACKAGE_VERSION="2.6pre06"
+export DERIVATIVE_ID="${ICEDTEA_NAME} ${PACKAGE_VERSION}"
+
+if [ -e ${jdk_topdir} ] ; then
+  if hg -R ${jdk_topdir} id &>/dev/null ; then
+    export JDK_REVID="r$(hg -R ${jdk_topdir} id -i)";
+  fi
+fi
+hotspot_topdir=${jdk_topdir}/../hotspot
+if [ -e ${hotspot_topdir} ] ; then
+  if hg -R ${hotspot_topdir} id &>/dev/null ; then
+    export HOTSPOT_BUILD_VERSION="r$(hg -R ${hotspot_topdir} id -i)";
+  fi
+fi
+
+lsbrelease=$(which lsb_release 2>/dev/null)
+if [ -x ${lsbrelease} ] ; then
+  lsbinfo="$(${lsbrelease} -ds | sed 's/^"//;s/"$//')"
+  if test "x${PKGVERSION}" = "x"; then
+    export DISTRIBUTION_ID="Built on ${lsbinfo} ($(date))"
+  else
+    export DISTRIBUTION_ID="${lsbinfo}, package $PKGVERSION"
+  fi
+  export DISTRO_NAME="$(${lsbrelease} -is | sed 's/^"//;s/"$//')"
+fi


More information about the distro-pkg-dev mailing list