[Lunar-commits] <moonbase> sun-jdk: Need to fix the symlink.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Mar 31 16:24:18 CEST 2010


commit a61a32d7d660850adc7c8c8149586c81a6c76b32
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Mar 31 10:24:18 2010 -0400

    sun-jdk: Need to fix the symlink.
---
 compilers/sun-jdk/BUILD |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/compilers/sun-jdk/BUILD b/compilers/sun-jdk/BUILD
index 192568b..24980b9 100644
--- a/compilers/sun-jdk/BUILD
+++ b/compilers/sun-jdk/BUILD
@@ -5,6 +5,7 @@
 
   # Clean up old java 1.6.0 service packs
   rm -rf /usr/lib/jdk1.6.0_* &&
+  rm -f /usr/lib/libjvm.so &&
 
   prepare_install &&
 
@@ -21,7 +22,7 @@
       if [[ "$bfile" != "klist" ]] && [[ "$bfile" != "kinit" ]]; then
           ln -sf $file /usr/bin/
       fi
-  done
+  done &&
 
   mkdir -p /opt/lunar/plugins &&
   rm -f /opt/lunar/plugins/libjavaplugin_oji.so &&
@@ -35,6 +36,9 @@
          /opt/lunar/plugins/
   fi &&
 
+# This didn't get created, dead link. Do it this way.
+  ln -sf /usr/lib/jdk${FVERSION}/jre/lib/i386/server/libjvm.so /usr/lib/libjvm.so &&
+
   echo export PATH=\"'${PATH}':/usr/lib/jdk"${FVERSION}"/bin\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
   echo export JAVA_HOME=\"/usr/lib/jdk"${FVERSION}"/\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
   install -m644 $SOURCE_DIRECTORY/sun-jdk.rc /etc/profile.d/


More information about the Lunar-commits mailing list