Skip to content

Commit

Permalink
fix: do not expose new sublibrary of rrdd-plugin that depends on ezxe…
Browse files Browse the repository at this point in the history
…nstore (xapi-project#6033)

ezxenstore wasn't being installed by the specfile, but a new dependency
was added between the RRDD plugins and Ezxenstore.

We don't want to introduce new publicly installed packages in the
specfile, so move ezxenstore to an existing package: the RRDD plugin
one.
  • Loading branch information
robhoes authored Oct 2, 2024
2 parents ec0151b + 5d9d9a4 commit 382a63b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
8 changes: 7 additions & 1 deletion ocaml/xapi-idl/lib/xcp_service.ml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,13 @@ let configure ?(argv = Sys.argv) ?(options = []) ?(resources = []) () =
(fun _ -> failwith "Invalid argument")
(Printf.sprintf "Usage: %s [-config filename]" Sys.argv.(0))
)
with Failure msg -> prerr_endline msg ; flush stderr ; exit 1
with
| Failure msg ->
prerr_endline msg ; flush stderr ; exit 1
| Arg.Bad msg ->
Printf.eprintf "%s" msg ; exit 2
| Arg.Help msg ->
Printf.printf "%s" msg ; exit 0

let configure2 ~name ~version ~doc ?(options = []) ?(resources = []) () =
configure_common ~options ~resources @@ fun config_spec ->
Expand Down
2 changes: 1 addition & 1 deletion ocaml/xcp-rrdd/bin/rrdp-cpu/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(libraries
astring
rrdd-plugin
rrdd-plugin.xenctrl
rrdd_plugin_xenctrl
rrdd_plugins_libs
xapi-idl.rrd
xapi-log
Expand Down
2 changes: 1 addition & 1 deletion ocaml/xcp-rrdd/bin/rrdp-iostat/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
mtime
mtime.clock.os
rrdd-plugin
rrdd-plugin.xenctrl
rrdd_plugin_xenctrl
rrdd_plugins_libs
str
stringext
Expand Down
2 changes: 1 addition & 1 deletion ocaml/xcp-rrdd/bin/rrdp-netdev/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(libraries
astring
rrdd-plugin
rrdd-plugin.xenctrl
rrdd_plugin_xenctrl
rrdd_plugins_libs
xapi-idl
xapi-idl.network
Expand Down
1 change: 0 additions & 1 deletion ocaml/xcp-rrdd/lib/plugin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

(library
(name rrdd_plugin_xenctrl)
(public_name rrdd-plugin.xenctrl)
(flags (:standard -bin-annot))
(wrapped false)
(modules xenctrl_lib)
Expand Down

0 comments on commit 382a63b

Please sign in to comment.