GNOME Bugzilla – Bug 733030
deploy: Clean up leftover state before creating new directories
Last modified: 2014-09-13 14:44:02 UTC
This fixes a regression introduced with https://git.gnome.org/browse/ostree/commit/?id=7baa600e237b326899de2899a9bc54a6b863943c The original code in "ostree admin upgrade" had a comment: /* Here we perform cleanup of any leftover data from previous * partial failures. This avoids having to call gs_shutil_rm_rf() * at random points throughout the process. */ But since I deleted that initial cleanup call, we *do* need to do the cleanup during the process run. It turns out there are only a few places this is necessary.
Created attachment 280447 [details] [review] deploy: Clean up leftover state before creating new directories
No review, but I believe this is correct.
Attachment 280447 [details] pushed as 12e3ed8 - deploy: Clean up leftover state before creating new directories