[OE-core] [PATCH 2/2] insane: display names instead of ELF machine numbers
Gary Thomas
gary at mlbassoc.com
Tue Oct 11 12:45:51 UTC 2016
On 2016-10-11 14:36, Burton, Ross wrote:
>
> On 11 October 2016 at 13:26, Gary Thomas <gary at mlbassoc.com <mailto: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".
Much nicer indeed.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the Openembedded-core
mailing list