[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/APPHELLOWORLD] Adapt helloworld app to work with kraft script.



We include a kraft-compatible yaml file to the helloworld app and
update the README.md to point users to the kraft script. We remove the
now obsolete deps.json file.

Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 README.md  | 15 +++++++++++----
 deps.json  |  3 ---
 kraft.yaml | 12 ++++++++++++
 3 files changed, 23 insertions(+), 7 deletions(-)
 delete mode 100644 deps.json
 create mode 100644 kraft.yaml

diff --git a/README.md b/README.md
index f0e382a..1ece656 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,12 @@
-"Hello World"-Example for Unikraft
-==================================
+# Unikraft "hello world" Application
 
-Please refer to the `README.md` as well as the documentation in the `doc/`
-subdirectory of the main unikraft repository.
+To build and run this application please use the `kraft` script:
+
+    git clone https://github.com/unikraft/kraft
+    cd kraft
+    python setup.py install
+    kraft list
+    kraft up -p [platform] -m [architecture] [app name]
+
+For more information about `kraft` type ```kraft -h``` or read the
+[documentation](http://docs.unikraft.org).
diff --git a/deps.json b/deps.json
deleted file mode 100644
index b5f68a6..0000000
--- a/deps.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-    "core": "33cc02ba"
-}
diff --git a/kraft.yaml b/kraft.yaml
new file mode 100644
index 0000000..c4c074d
--- /dev/null
+++ b/kraft.yaml
@@ -0,0 +1,12 @@
+specification: '0.4'
+
+unikraft: '0.4'
+
+architectures:
+  x86_64: true
+  arm64: true
+      
+platforms:
+  linuxu: true
+  kvm: true
+  xen: true
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.