package_deb/package_ipk: Cleanup control file handling/races
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Nov 2013 22:08:56 +0000 (22:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Nov 2013 11:02:27 +0000 (11:02 +0000)
commit7bff46c3d9664d69cf9ac368da6da683171381a2
tree6a640016103f87040963dc0189e0666f4e213b86
parent163dd06733632eb79716730b8b64a899abf4fcae
package_deb/package_ipk: Cleanup control file handling/races

If you Ctrl+C ppackage_write_{deb/ipk} control files can get left lying around
and make it into another packaging format. This ensures we cleanup all known
control files before starting packaging. We can simplify some of the globbing
as a result.

(From OE-Core rev: 7f8c728c82a17621461be2114c1afab3713a808e)

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