From 59fe5abd06715f27848ac32b2294cf59c5a382b3 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Tue, 1 Mar 2022 22:28:34 +0100 Subject: [PATCH] add a hello world unikernel --- .../mirage-unikernel-hello-hvt.0.0.1/opam | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/mirage-unikernel-hello-hvt.0.0.1/opam diff --git a/packages/mirage-unikernel-hello-hvt.0.0.1/opam b/packages/mirage-unikernel-hello-hvt.0.0.1/opam new file mode 100644 index 0000000..0fe4efa --- /dev/null +++ b/packages/mirage-unikernel-hello-hvt.0.0.1/opam @@ -0,0 +1,33 @@ +# Generated by ./config.exe configure -t hvt (2022-03-01 21:26:18-00:00). +opam-version: "2.0" +name: "mirage-unikernel-hello-hvt" +depends: [ "duration" + "functoria-runtime" + "lwt" + "mirage" {build & >= "3.10.0" & < "3.11.0"} + "mirage-bootvar-solo5" { >= "0.6.0" & < "0.7.0"} + "mirage-clock-freestanding" { >= "3.0.0" & < "5.0.0"} + "mirage-logs" { >= "1.2.0" & < "2.0.0"} + "mirage-runtime" { >= "3.10.0" & < "3.11.0"} + "mirage-solo5" { >= "0.6.1" & < "0.7.0"} + "mirage-types" { >= "3.10.0" & < "3.11.0"} + "mirage-types-lwt" { >= "3.10.0" & < "3.11.0"} + "ocaml" {build & >= "4.08.0"} + "ocamlbuild" {build} + "ocamlfind" {build} + "dune" {< "3.0.0"} + "solo5-bindings-hvt" { >= "0.6.0" & < "0.7.0"} +] +maintainer: "dummy" +authors: "dummy" +homepage: "dummy" +bug-reports: "dummy" +dev-repo: "git+https://example.com/nonexistent" +build: [ "sh" "-exc" "cd tutorial/hello && mirage configure -t hvt && mirage build" ] +synopsis: "The famous hello world unikernel." +install: [ + [ "cp" "tutorial/hello/hello.hvt" "%{bin}%/hello.hvt" ] + [ "strip" "%{bin}%/hello.hvt" ] + [ "cp" "tutorial/hello/hello.hvt" "%{prefix}%/hello.hvt.debug" ] +] +url { src: "git+https://github.com/mirage/mirage-skeleton.git" }