]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: use hostname instead of reading /etc/hostname
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 14 Feb 2012 10:55:46 +0000 (10:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Feb 2012 17:48:38 +0000 (17:48 +0000)
commitcb939b753c9e7648a38e22e0349c279da785e69d
treec2306d2e2c79e0c26c8793f9535f8455cf4094f7
parent2e9981000a211a89f88d7728393cc231e466581a
classes/buildhistory: use hostname instead of reading /etc/hostname

For the purposes of querying the hostname to include it in the commit
message, it seems "cat /etc/hostname" does not work on the Yocto Project
autobuilder machines, and it's likely that the hostname command will be
more generally reliable, so use that instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/buildhistory.bbclass