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/