]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/parselogs: don't use uname to get MACHINE
authorRoss Burton <ross.burton@intel.com>
Thu, 23 Jul 2015 21:59:49 +0000 (22:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Jul 2015 22:29:41 +0000 (23:29 +0100)
commit17efc6b3284f165a9df14090dec57d877e0c36fa
treec7b630a5c547f21c5896eb32255c33dc034fe209
parent4d777ce9736e91bb560558b691b8025acf784046
oeqa/runtime/parselogs: don't use uname to get MACHINE

Instead of running "uname -n" on the target (which actually returns the
hostname) to get something approximating the hostname (or not, if that has been
overriden), simply fetch MACHINE from the datastore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/parselogs.py