From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

Added node-from-host app

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/node-from-host/Makefile b/node-from-host/Makefile
--- a/node-from-host/Makefile
+++ b/node-from-host/Makefile
@@ -0,0 +1,12 @@
+.PHONY: module clean
+
+SRC = $(shell readlink -f ../..)
+
+node_exe_path = $(shell realpath $$(which node))
+
+module:
+       echo "/libnode.so: ->/node" > usr.manifest
+       $(SRC)/scripts/manifest_from_host.sh $(node_exe_path) >> usr.manifest
+
+clean:
+       rm -rf usr.manifest
diff --git a/node-from-host/module.py b/node-from-host/module.py
--- a/node-from-host/module.py
+++ b/node-from-host/module.py
@@ -0,0 +1 @@
+provides = ['node']

--
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/000000000000e963be058d74bc25%40google.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to