prepare-root: Move sysroot.tmp creation earlier
authorColin Walters <walters@verbum.org>
Tue, 23 May 2023 18:42:15 +0000 (14:42 -0400)
committerColin Walters <walters@verbum.org>
Wed, 24 May 2023 19:50:38 +0000 (15:50 -0400)
commitc22576c41de469637b4e6098644295ba65d7e21d
treee90588081cd9897bcbfe00e815d1eff7d59d4bf9
parent50790b285e5b5c72c76ea4017850cafa26f40e51
prepare-root: Move sysroot.tmp creation earlier

Main motivation is prep for composefs in
https://github.com/ostreedev/ostree/pull/2640
In the interest of that, we add a `bool using_composefs` but
it's currently always `false`.

Co-authored-by: Alexander Larsson <alexl@redhat.com>
src/switchroot/ostree-prepare-root.c