]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
tools/misc: Remove obsolete xen-bugtool
authorHans van Kranenburg <hans.van.kranenburg@mendix.com>
Sun, 3 Feb 2019 20:35:18 +0000 (21:35 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 4 Feb 2019 11:41:58 +0000 (11:41 +0000)
xen-bugtool relies on code that has been removed in commit 9e8672f1c3
"tools: remove xend and associated python modules", more than 5 years
ago. Remove it, since it confuses users.

    -$ /usr/sbin/xen-bugtool
    Traceback (most recent call last):
      File "/usr/sbin/xen-bugtool", line 9, in <module>
from xen.util import bugtool
    ImportError: No module named xen.util

Signed-off-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866380
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
docs/README.xen-bugtool [deleted file]
tools/misc/Makefile
tools/misc/xen-bugtool [deleted file]

diff --git a/docs/README.xen-bugtool b/docs/README.xen-bugtool
deleted file mode 100644 (file)
index a7e95ef..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-xen-bugtool
-===========
-
-The xen-bugtool command line application will collate the Xen dmesg output,
-details of the hardware configuration of your machine, information about the
-build of Xen that you are using, plus, if you allow it, various logs.
-
-The information collated can either be posted to a Xen Bugzilla bug (this bug
-must already exist in the system, and you must be a registered user there), or
-it can be saved as a .tar.bz2 for sending or archiving.
-
-The collated logs may contain private information, and if you are at all
-worried about that, you should not use this tool, or you should explicitly
-exclude those logs from the archive.
-
-xen-bugtool is wholly interactive, so simply run it, and answer the questions.
index eaa28793ef24391b72ce930e0dcaea2edbf006c2..fd912029506acceb72e74aa7c7854283be984733 100644 (file)
@@ -17,7 +17,6 @@ INSTALL_BIN                    += xencov_split
 INSTALL_BIN += $(INSTALL_BIN-y)
 
 # Everything to be installed in regular sbin/
-INSTALL_SBIN                   += xen-bugtool
 INSTALL_SBIN-$(CONFIG_MIGRATE) += xen-hptool
 INSTALL_SBIN-$(CONFIG_X86)     += xen-hvmcrash
 INSTALL_SBIN-$(CONFIG_X86)     += xen-hvmctx
@@ -41,7 +40,6 @@ INSTALL_PRIVBIN                += xenpvnetboot
 TARGETS_ALL := $(INSTALL_BIN) $(INSTALL_SBIN) $(INSTALL_PRIVBIN)
 
 # Everything which only needs copying to install
-TARGETS_COPY += xen-bugtool
 TARGETS_COPY += xen-ringwatch
 TARGETS_COPY += xencons
 TARGETS_COPY += xencov_split
diff --git a/tools/misc/xen-bugtool b/tools/misc/xen-bugtool
deleted file mode 100644 (file)
index a3742b4..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-
-#  -*- mode: python; -*-
-
-# Copyright (c) 2005, XenSource Ltd.
-
-import sys
-
-from xen.util import bugtool
-
-
-if __name__ == "__main__":
-    try:
-        sys.exit(bugtool.main())
-    except KeyboardInterrupt:
-        print "\nInterrupted."
-        sys.exit(1)