There is a new package libreport-anaconda that contains some
configuration files that enable "reporting" over scp/ftp. We
just need to tell libreport that the crash happened in Anaconda.
Signed-off-by: Vratislav Podzimek <vpodzime(a)redhat.com>
---
anaconda.spec.in | 1 +
pyanaconda/exception.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/anaconda.spec.in b/anaconda.spec.in
index b3c81e7..9ec325d 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -100,6 +100,7 @@ BuildRequires: s390utils-devel
Requires: anaconda-widgets = %{version}-%{release}
Requires: gnome-icon-theme-symbolic
Requires: python-meh >= %{mehver}
+Requires: libreport-anaconda >= 2.0.21-1
Requires: policycoreutils
Requires: rpm-python >= %{rpmpythonver}
Requires: parted >= %{partedver}
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index 291adbc..ee6b65c 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -180,6 +180,7 @@ def initExceptionHandling(anaconda):
conf.register_callback("lsblk_output", lsblk_callback, attchmnt_only=True)
conf.register_callback("nmcli_dev_list", nmcli_dev_list_callback,
attchmnt_only=True)
+ conf.register_callback("type", lambda: "anaconda",
attchmnt_only=True)
handler = AnacondaExceptionHandler(conf, anaconda.intf.meh_interface,
ReverseExceptionDump, anaconda.intf.tty_num)
--
1.7.11.7
Show replies by date
There is a new package libreport-anaconda that contains some
configuration files that enable "reporting" over scp/ftp. We
just need to tell libreport that the crash happened in Anaconda.
Looks fine to me.
- Chris