From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
Added java-from-host app Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/java-from-host/Makefile b/java-from-host/Makefile --- a/java-from-host/Makefile +++ b/java-from-host/Makefile @@ -0,0 +1,14 @@ +.PHONY: module clean + +SRC = $(shell readlink -f ../..) + +java_exe_path = $(shell realpath $$(which java)) +java_bin_path = $(shell dirname $(java_exe_path)) +java_jre_path = $(shell dirname $(java_bin_path)) + +module: + echo "/java.so: ->$(java_exe_path)" > usr.manifest + $(SRC)/scripts/manifest_from_host.sh -rR $(java_jre_path) >> usr.manifest + +clean: + rm -rf usr.manifest diff --git a/java-from-host/module.py b/java-from-host/module.py --- a/java-from-host/module.py +++ b/java-from-host/module.py @@ -0,0 +1 @@ +provides = ['java','java8'] -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000d6880d058d74bc9a%40google.com. For more options, visit https://groups.google.com/d/optout.
