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

Bug#810663: marked as done (Include Device Tree model in reportbug script)



Your message dated Mon, 15 Feb 2016 23:37:57 +0000
with message-id <1455579477.1143.7.camel@decadent.org.uk>
and subject line Re: Bug#810663: Include Device Tree model in reportbug script
has caused the Debian Bug report #810663,
regarding Include Device Tree model in reportbug script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
810663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810663
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux
Version: 4.3.3-5
Severity: wishlist
Tags: patch

It would be nice to include the Device Tree model in the reportbug
output.  On DT based platforms, /proc/cpuinfo only includes quite
generic information.

Please note that the strange "echo ... $(cat ..)" construct is
intentional.  'cat /proc/device-tree/model' leads to a strange
character at the end because there's no newline and using echo
gets rid of it.

diff --git a/debian/templates/image.plain.bug/include-model b/debian/templates/image.plain.bug/include-model
index 60a7112..9c6aedd 100644
--- a/debian/templates/image.plain.bug/include-model
+++ b/debian/templates/image.plain.bug/include-model
@@ -39,6 +39,11 @@ grep_model() {
     false
     ;;
   esac
+
+  # Device Tree model
+  if [ -r /proc/device-tree/model ]; then
+    echo "Device Tree model:" $(cat /proc/device-tree/model)
+  fi
 }
 
 add_model() {

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

--- End Message ---
--- Begin Message ---
Version: 4.3.5-1

You committed this change but forgot to close the bug...

Ben.

-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: