2015-04-12, 16:32
(2015-04-12, 15:54)MrMagic Wrote: Would this be enough to get BD-J support working?
I've absolutely no idea, I'm afraid. You probably want to continue discussion in the OpenELEC forum.
(2015-04-12, 15:54)MrMagic Wrote: Only thing I didn't manage to do was get the /storage/.config/autostart.sh executed on startup. It does work when run manually though.
I imagine it *is* being executed, but not having the desired effect. When autostart.sh is run at boot, modifying PATH in autostart.sh is not going to have any effect on the PATH variable used by kodi.bin, or any other process (including ssh/bash etc.), that is started independently of autostart.sh. You probably want to look at /etc/profiles.d to see how PATH is currently setup and subsequently modified - any process that wants to take advantage of /etc/profiles.d will need to execute /etc/profile.
If you want Java to be accessible only to your ssh session then this has nothing to do with autostart.sh - just modify the PATH in your ~/.profile.
However this is outside the scope of this test build thread - please start a new thread or discuss it in the Java thread on the OpenELEC forum.