[OE-core] [PATCH 2/2] insane: display names instead of ELF machine numbers
Burton, Ross
ross.burton at intel.com
Tue Oct 11 12:36:25 UTC 2016
On 11 October 2016 at 13:26, Gary Thomas <gary at mlbassoc.com> wrote:
> Did you mean to swap the items? The old version used
> machine, elf.machine()
> and this version uses
> elf.machine(), machine
>
Yes, because the string format changed to be clearer too:
- package_qa_add_message(messages, "arch", "Architecture did not
match (%d to %d) on %s" % \
- (machine, elf.machine(), package_qa_clean_path(path,d)))
+ package_qa_add_message(messages, "arch", "Architecture did not
match (%s, expected %s) on %s" % \
+ (oe.qa.elf_machine_to_string(elf.machine()),
oe.qa.elf_machine_to_string(machine),
The old message would say "20 to 62", the new message is "x86-64, expected
PowerPC".
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161011/95f15b02/attachment-0002.html>
More information about the Openembedded-core
mailing list