On 2016-10-11 14:36, Burton, Ross wrote:

On 11 October 2016 at 13:26, Gary Thomas <g...@mlbassoc.com 
<mailto:g...@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
------------------------------------------------------------
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to