> Try
>
> opam pin add mbr-format git://github.com/djs55/ocaml-mbr#release.0.3
> opam pin add xe-unikernel-upload git://github.com/djs55/xe-unikernel-upload#new-mirage-interfaces
>
> I have built these but not tested them. Let me know if they work for you and I’ll try to release them into upstream opam.
Had problems with this, installing:-
opam pin add mbr-format git://github.com/djs55/ocaml-mbr#release.0.3
mbr-format is now git-pinned to git://github.com/djs55/ocaml-mbr#release.0.3
[ERROR] Command "git fetch -q origin +release.0.3:refs/remotes/opam-ref" failed:
# opam-version 1.2.1
# os linux
# command git fetch -q origin +release.0.3:refs/remotes/opam-ref
# path /home/nick/.opam/system/packages.dev/mbr-format
# exit-code 128
# env-file /home/nick/.opam/log/log-14616-1872ec.env
# stdout-file /home/nick/.opam/log/log-14616-1872ec.out
# stderr-file /home/nick/.opam/log/log-14616-1872ec.err
### stderr ###
# fatal: Couldn't find remote ref release.0.3
.... and then
#=== ERROR while installing xe-unikernel-upload.0.4 ===========================#
# opam-version 1.2.1
# os linux
# command make
# path /home/nick/.opam/system/build/xe-unikernel-upload.0.4
# compiler system (4.01.0)
# exit-code 2
# env-file /home/nick/.opam/system/build/xe-unikernel-upload.0.4/xe-unikernel-upload-3140-d6d332.env
# stdout-file /home/nick/.opam/system/build/xe-unikernel-upload.0.4/xe-unikernel-upload-3140-d6d332.out
# stderr-file /home/nick/.opam/system/build/xe-unikernel-upload.0.4/xe-unikernel-upload-3140-d6d332.err
### stdout ###
# [...]
# ocamlfind ocamlopt -c -g -package xen-api-client.lwt -package xen-api-client -package mbr-format.mirage -package mbr-format.lwt -package mbr-format -package lwt -package io-page.unix -package io-page -package fat-filesystem -package cstruct -package cmdliner -o common.cmx common.ml
# ocamlfind ocamlopt -c -g -package xen-api-client.lwt -package xen-api-client -package mbr-format.mirage -package mbr-format.lwt -package mbr-format -package lwt -package io-page.unix -package io-page -package fat-filesystem -package cstruct -package cmdliner -o filesystem.cmx filesystem.ml
# ocamlfind ocamldep -package xen-api-client.lwt -package xen-api-client -package mbr-format.mirage -package mbr-format.lwt -package mbr-format -package lwt -package io-page.unix -package io-page -package fat-filesystem -package cstruct -package cmdliner -modules disk_upload.ml > disk_upload.ml.depends
# ocamlfind ocamldep -package xen-api-client.lwt -package xen-api-client -package mbr-format.mirage -package mbr-format.lwt -package mbr-format -package lwt -package io-page.unix -package io-page -package fat-filesystem -package cstruct -package cmdliner -modules ramdisk.ml > ramdisk.ml.depends
# ocamlfind ocamlopt -c -g -package xen-api-client.lwt -package xen-api-client -package mbr-format.mirage -package mbr-format.lwt -package mbr-format -package lwt -package io-page.unix -package io-page -package fat-filesystem -package cstruct -package cmdliner -o bootable_disk.cmx bootable_disk.ml
# + ocamlfind ocamlopt -c -g -package xen-api-client.lwt -package xen-api-client -package mbr-format.mirage -package mbr-format.lwt -package mbr-format -package lwt -package io-page.unix -package io-page -package fat-filesystem -package cstruct -package cmdliner -o bootable_disk.cmx bootable_disk.ml
# File "bootable_disk.ml", line 40, characters 4-21:
# Error: Unbound value Partition.connect
# Did you mean disconnect?
.... incidentally, mirage-http 2.3.0 also fails with the latest install of cohttp 0.18.0