combo-layer: improve patch list handling and output
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 31 Jul 2012 00:06:24 +0000 (01:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jul 2012 07:02:10 +0000 (08:02 +0100)
commitb1d449e359bbb9a4ee4c218db1ee72ce70d2166d
tree65d26675e6d98885fd090d559d0821903e215655
parentc9df8c61fa058d3ea14d480d987bc37a70aec8be
combo-layer: improve patch list handling and output

* Ignore blank lines in patch list
* Don't fail in interactive mode if patch list is deleted
* Show patch counter
* Show relative path for patches
* Print headings before applying patch list for each component

Also change to using a "with" block to read the patch list so it gets
closed properly when we're finished.

Fixes [YOCTO #2455].

(From OE-Core rev: 65461d7c35fdadb5b008052798731dce19ed187f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/combo-layer