Bug#788885: Doesn't recognize QNAP devices in Debian stretch (device tree)

2015-06-18 Thread Martin Michlmayr
* Martin Michlmayr [2015-06-15 17:41]: > qcontrol looks at /proc/cpuinfo, but this no longer works in Debian > stretch due to the conversion to devic tree. tags 75 + patch thanks Here's an (untested) patch. This assumes that /proc/device-tree/model always contains the correct device informa

Bug#788885: Doesn't recognize QNAP devices in Debian stretch (device tree)

2015-06-15 Thread Martin Michlmayr
Package: qcontrol Version: 0.5.4-2 Severity: important qcontrol looks at /proc/cpuinfo, but this no longer works in Debian stretch due to the conversion to devic tree. debian/qcontrol.postinst: device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \ debian/udeb/qcommand:device=$(