lib/sysroot-cleanup: Factor out bootfs cleanup
authorJonathan Lebon <jonathan@jlebon.com>
Thu, 13 Apr 2023 21:22:40 +0000 (17:22 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Fri, 14 Apr 2023 13:57:16 +0000 (09:57 -0400)
commitbf974e32fcd2b484ae440891a499a7d353489483
treead87f30f46d4e99c8afca0dc840bb98b318cdfa6
parent49eb8c04d547e9cc3cfcca4e0571deedd9f36040
lib/sysroot-cleanup: Factor out bootfs cleanup

Crawling through the bootfs and the deployment dirs was already mostly
separate. The only inefficiency here is that we now iterate over the
array of active deployments twice when building the hash tables. No
functional change otherwise.

Prep for future patch.
src/libostree/ostree-sysroot-cleanup.c