Skip to content

Commit

Permalink
sync dependencies between opam and dune files
Browse files Browse the repository at this point in the history
changes for 2.0.0
  • Loading branch information
hannesm committed Oct 21, 2020
1 parent 6d82e1d commit cf6d97c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.0.0 (2020-10-21)
* Adapt to mirage-xen 6.0.0 API changes (Solo5 based Xen PVH, #87 @mato)

## v1.7.0 (2019-11-01)
* Adapt to mirage-xen 5.0.0 API changes (#86 @hannesm)
* Adapt to mriage-block 2.0.0 API changs (#86 @hannesm)
Expand Down
2 changes: 1 addition & 1 deletion lib/back/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
(flags :standard -w -3)
(libraries logs lwt cstruct io-page shared-memory-ring
shared-memory-ring-lwt mirage-block-xen xenstore
xenstore.client mirage-block rresult mirage-xen)
xenstore.client mirage-block mirage-xen)
(wrapped false))
2 changes: 1 addition & 1 deletion lib/front/blkfront.ml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ let enumerate () =
let deprecated_prefixes = [ "tapdisk"; "tap2"; "aio"; "ioemu"; "file"; "phy" ]

let strip_prefixes x =
Stringext.split x ~on:':'
String.split_on_char ':' x
|> List.fold_left (fun acc x -> match acc with
| [] ->
if List.mem x deprecated_prefixes
Expand Down
2 changes: 1 addition & 1 deletion lib/front/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(name mirage_block_xen_front)
(public_name mirage-block-xen.front)
(modules Blkfront Block)
(libraries logs stringext lwt cstruct mirage-block io-page
(libraries logs lwt cstruct mirage-block io-page
shared-memory-ring shared-memory-ring-lwt mirage-block-xen
mirage-xen)
(wrapped false))
6 changes: 2 additions & 4 deletions mirage-block-xen.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ bug-reports: "https://github.com/mirage/mirage-block-xen/issues"
depends: [
"ocaml" {>= "4.08.0"}
"dune"
"cmdliner"
"logs"
"stringext"
"lwt" {>= "2.4.3"}
"cstruct" {>= "1.9.0"}
"ppx_cstruct" {build & >= "3.6.0"}
"shared-memory-ring"
"shared-memory-ring-lwt"
"mirage-block" {>= "2.0.0"}
"ipaddr"
"io-page" {>= "2.0.0"}
"mirage-xen" {>= "6.0.0"}
"rresult"
"xenstore"
]
build: [
["dune" "subst"] {pinned}
Expand Down

0 comments on commit cf6d97c

Please sign in to comment.