[linux] 06/06: Include Device Tree model in reportbug script
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sat Feb 6 21:18:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch sid
in repository linux.
commit 8e44bb11eacc42d2a898d76564be6a1b877959d6
Author: Martin Michlmayr <tbm at cyrius.com>
Date: Sun Jan 10 21:23:40 2016 -0800
Include Device Tree model in reportbug script
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.
---
debian/changelog | 3 +++
debian/templates/image.plain.bug/include-model | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7576aaf..f343f1d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -149,6 +149,9 @@ linux (4.3.5-1) UNRELEASED; urgency=medium
(Closes: #812336)
* [s390x] udeb: include btrfs-modules (Closes: #812340)
+ [ Martin Michlmayr ]
+ * Include Device Tree model in reportbug script
+
-- Ben Hutchings <ben at decadent.org.uk> Sat, 23 Jan 2016 11:51:46 +0000
linux (4.3.3-7) unstable; urgency=medium
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() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list