Dyson now supports entire Debian Java stack with OpenJDK 7!
There was a long standing problem with bootstrapping OpenJDK: it requires GCJ or OpenJDK itself. GCJ still hangs when compiling many files, so I could not build OpenJDK. Until I'd realised that I could try to use Oracle JDK. Luckily, it worked! I just needed to get Solaris Studio runtime (e. g. libCrun) and to create some missing libraries like libdoor.so.1; also I made symlinks from bin/amd64/* to bin/* for all tools in jre and jdk.
After applying a few patches (
http://bzr.osdyson.org/openjdk-7/changes/ ) I was able to compile OpenJDK 7 and then recompiled it with itself.
It works, it passes tests, it builds other java packages!
Dyson now can serve and mount NFS shares.
To make Dyson a NFS client you need to install the "illumos-nfs-common" package,
to make a NFS server - "illumos-nfs-server" (this will pull "illumos-nfs-common").
Steps to became a NFS server:
- Make sure you use "unstable" suite:
# cat /etc/apt/sources.list deb http://apt.osdyson.org unstable main
- Update APT cache:
# apt-get update
- Make a backup boot environment:
# beadm create nfs
Just in case something goes wrong: installing NFS server will update your kernel. In any case you will have to reboot.
- Install packages:
# apt-get install illumos-nfs-server
- Reboot to the same boot environment (not the one you created):
- Make sure services are running and not in maintenance state:
# svcs -a | grep nfs disabled 21:46:13 svc:/network/nfs/nlockmgr:default disabled 21:46:15 svc:/network/nfs/status:default disabled 21:46:17 svc:/network/nfs/mapid:default disabled 21:46:18 svc:/network/nfs/client:default disabled 21:46:19 svc:/network/nfs/cbd:default disabled 21:46:23 svc:/network/nfs/server:default # svcadm enable -r nfs/server
Also available in: Atom