[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#394076: Please add to instalation logs dfbinfo's output



Package: installation-report
Severity: minor
Tags: patch

The dfbinfo tool is a diagnostic tool meant to gather infos about DirectFrameBuffer configuration and it's going to be provided [1] by libdirectfb-0.9-25-udeb. Having its output in the instalation logs would be very useful to debug graphical-installer related issues: could this be achived by something like the attached patch? Note that the patch assumes dfbinfo to be located in /usr/lib/directfb-0.9.25/bin/, which won't be true the day a libdirectfb-bin-udeb is created.

cheers

Attilio

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390437

Index: report-hw
===================================================================
--- report-hw   (revisione 41837)
+++ report-hw   (copia locale)
@@ -41,3 +41,7 @@
        fi
 done
 dmidecode 2>&1 | addinfo dmidecode
+
+if [ -e /usr/lib/directfb-0.9.25/bin/dfbinfo ]; then
+       /usr/lib/directfb-0.9.25/bin/dfbinfo 2>&1 | addinfo dfbinfo
+fi



Reply to: