Skip to content

Commit

Permalink
CA-84509 - Log list of xapi plugins in bugtool.
Browse files Browse the repository at this point in the history
Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information
johnelse committed Jun 30, 2012
1 parent 5d1c13b commit deb7cb4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/OMakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ install:
$(IPROG) xn_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) thread_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xn_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) list_plugins $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xapi
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
$(IDATA) bugtool-plugin/xapi.xml $(DESTDIR)$(ETCDIR)/bugtool
Expand Down
1 change: 1 addition & 0 deletions scripts/bugtool-plugin/xapi/stuff.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<collect>
<command label="sm_diagnostics">@LIBEXECDIR@/sm_diagnostics</command>
<command label="thread_diagnostics">@LIBEXECDIR@/thread_diagnostics</command>
<command label="list_plugins">@LIBEXECDIR@/list_plugins</command>
</collect>
3 changes: 3 additions & 0 deletions scripts/list_plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

ls @PLUGINDIR@
1 change: 1 addition & 0 deletions xapi.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ rm -rf $RPM_BUILD_ROOT
@OPTDIR@/bin/xsh
/etc/xensource/bugtool/xapi.xml
/etc/xensource/bugtool/xapi/stuff.xml
@OPTDIR@/libexec/list_plugins
@OPTDIR@/libexec/sm_diagnostics
@OPTDIR@/libexec/thread_diagnostics
@OPTDIR@/libexec/InterfaceReconfigure.py
Expand Down

0 comments on commit deb7cb4

Please sign in to comment.