]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/rootfs: tidy up log warning reporting
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Jun 2015 10:10:37 +0000 (11:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 22:55:36 +0000 (23:55 +0100)
commit8dfdd329f0137cab8cab97e1d0c1181810fe5b32
tree78977dc1400f81e4309d884bcf8c3a58f0653b38
parenta938f2117989b596c50d9d7f3929dd3c0f893d08
lib/oe/rootfs: tidy up log warning reporting

* bb.warn() should only be called once per warning - UIs such as Toaster
  assume that this is the case, so adjust the output accordingly. (It's
  tricky here because we have to include "log_check" on every line or
  we'll end up looping forever as the log checking code's own messages
  retrigger the log check, sigh...)
* Iterating over a file already splits by line, there's no need to do it
  manually.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/lib/oe/rootfs.py