Skip to content

Commit

Permalink
promethes-cpp changes 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bashokba committed May 9, 2020
1 parent aeb6cdc commit e6e50e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion agent-ovs/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ Architecture: any
Build-Profiles: <!norenderer>
Depends:
opflex-agent (>= ${binary:Version}),
opflex-agent-renderer-openvswitch (>= ${binary:Version})
opflex-agent-renderer-openvswitch (>= ${binary:Version}),
prometheus-cpp (>= 0.9.0)
Description: Transitional package for OpFlex Agent and OVS renderer
This package depends on opflex-agent and
opflex-agent-renderer-openvswitch to allow smoother transition from
Expand Down
4 changes: 2 additions & 2 deletions agent-ovs/debian/rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ PACKAGE=opflex-agent

override_dh_auto_configure:
if [ -z $(filter norenderer,$(DEB_BUILD_PROFILES)) ]; then \
dh_auto_configure -- --disable-assert --disable-static --with-buildversion=@BVERSION@ ; \
dh_auto_configure -- --disable-assert --disable-static --with-buildversion=@BVERSION@ --enable-prometheus ; \
else \
dh_auto_configure -- --disable-assert --disable-static --with-buildversion=@BVERSION@ --enable-renderer-ovs=no ;\
dh_auto_configure -- --disable-assert --disable-static --with-buildversion=@BVERSION@ --enable-renderer-ovs=no --enable-prometheus ;\
fi

override_dh_auto_test:
Expand Down

0 comments on commit e6e50e4

Please sign in to comment.