]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: Make sure we don't have an empty fixmepath file
authorMark Hatle <mark.hatle@windriver.com>
Fri, 18 May 2012 14:18:19 +0000 (17:18 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 May 2012 14:24:45 +0000 (15:24 +0100)
commit326563d5a897ae2dba7cfd8d73579d3d979d72c8
treeffcb483eaa691d4d179d36110cd707a32bd0b2d3
parent7d1bb144404de650c6e83dfd095d16a796cbcf46
sstate.bbclass: Make sure we don't have an empty fixmepath file

Jason Wessel noticed that a package without any fixmepath entries would
generate a sed warning about no input files.  This patch resolves that
by ensuring that an empty fixmepath file never gets written into the
sstate archive.  Also we avoid a second message by only doing xargs if
we got input.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass