hob: clear out temporary file list after deleting
If you don't clear out files_to_clean after the files get deleted and then you run a second build, it will try to delete the files from the first build and you will get a "No such file or directory" error. (Bitbake rev: 069d85cde01d14f8da31ad5cbd843a4d99628d42) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
09d78741ea
commit
88852a522d
|
@ -496,6 +496,7 @@ class MainWindow (gtk.Window):
|
|||
self.cancel.set_sensitive(False)
|
||||
for f in self.files_to_clean:
|
||||
os.remove(f)
|
||||
self.files_to_clean = []
|
||||
|
||||
lbl = "<b>Build completed</b>\n\nClick 'Edit Image' to start another build or 'View Messages' to view the messages output during the build."
|
||||
if self.handler.building == "image" and self.build_succeeded:
|
||||
|
|
Loading…
Reference in New Issue