oe/patch.py: Remove series file during Clean()
authorKhem Raj <raj.khem@gmail.com>
Wed, 22 Sep 2010 20:59:21 +0000 (13:59 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 23 Sep 2010 14:51:29 +0000 (07:51 -0700)
commit66f27716906ec344a6b9628ed5d0f21a3104718f
treeca4e7da30bb56704c6e5b966f973d67e90c57b94
parente35d6a3ab40a1a34fe466c4dcf6519373fde8442
oe/patch.py: Remove series file during Clean()

Currently if there is a failed do_patch the series files get appended
so if there were two patches

a.patch
b.patch
and b.patch failed during next run it would append a.patch again
a.patch
b.patch
a.patch

and this would keep growing.

We can remove series file in Clean() because we populate it in Import()
anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Eric Bénard <eric@eukrea.com>
lib/oe/patch.py