system: introduce new attribute board_name
authorDaniel Golle <daniel@makrotopia.org>
Sun, 18 Jun 2017 22:53:00 +0000 (00:53 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 18 Jun 2017 23:00:11 +0000 (01:00 +0200)
commit453116e08e6a9349374bbff427b75f57ce5387c9
treea2aeec6f943c3349fb555c0d51a799048090dd67
parente5b963a1f0b40a9b0880785d428d7462532c4611
system: introduce new attribute board_name

Instead of modifying the already defined 'model' attribute rather
introduce a new attribute board_name to return either
/tmp/sysinfo/board_name or /proc/device-tree/compatible.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
system.c