]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Fix sources contents
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 May 2013 05:50:33 +0000 (08:50 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 May 2013 05:50:37 +0000 (08:50 +0300)
commita015881f2207aded601459ba3eebbefb0002b3c5
treebfbd8f8b44a0b7d3eb52421a506279d658af1380
parentcf5e40598ae9a83f22cabedc7b72000beb62703c
package.bbclass: Fix sources contents

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c376f1f49cea182a2887945840ab97a20970a373
fixed a valid issue where the sources file was accumulating information
and subsequent task runs of do_packacge were not cleaning it. The
fix is wrong however since we're removing the file within a loop.
This fix removes the file outside the loop ensuring it is not truncated
and contains the correct information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass