Package: installation-report
Version: 2.60
Severity: wishlist
Tags: patch

On ARM devices using Device Tree, /proc/cpuinfo doesn't list the actual
hardware device.  This information can now be found in
/proc/device-tree/model.  I think it makes sense to include that file
in the installation report.

I think it would have been fine to commit this directly but I thought
I'd check if there are any objections (or better ideas).

Martin

diff --git a/report-hw b/report-hw
index b6ba398..77d7be6 100755
--- a/report-hw
+++ b/report-hw
@@ -75,8 +75,8 @@ if type dmraid >/dev/null 2>&1; then
        fi
 fi
 
-for file in cmdline cpuinfo ioports iomem interrupts meminfo \
-       bus/input/devices; do
+for file in cmdline cpuinfo device-tree/model ioports iomem interrupts \
+       meminfo bus/input/devices; do
        addfile /proc/$file
 done
 

-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to