composefs: Use lowerdir in /run
authorColin Walters <walters@verbum.org>
Sat, 22 Jul 2023 19:31:52 +0000 (15:31 -0400)
committerColin Walters <walters@verbum.org>
Sat, 22 Jul 2023 20:46:17 +0000 (16:46 -0400)
commit64afbcdeb0cb101ce302ae28f1c0852a9d73b907
tree6c6053ad565967b45973d98bfda10e3f18781dac
parent4c0e5b1ef7aa877c242e3ce20003392a585d4a25
composefs: Use lowerdir in /run

I just noticed that this was another constant string duplicated
between prepare-root.c and libostree-1.so, and I went to make
it a common `#define` in libotcore.la.

But then I thought "it's ugly to have this directory mixed into
the deployment namespace" because in some theoretical world
it could also be in the ostree commit, which would cause weird
behavior.

I think this is transient state that is better in `/run`, so move
it there.
src/libostree/ostree-sysroot-deploy.c
src/libotcore/otcore.h
src/switchroot/ostree-prepare-root.c
tests/inst/src/composefs.rs