prepare-root: Link to glib
authorColin Walters <walters@verbum.org>
Wed, 21 Jun 2023 17:25:52 +0000 (13:25 -0400)
committerColin Walters <walters@verbum.org>
Fri, 30 Jun 2023 09:18:23 +0000 (05:18 -0400)
commit875915f6c977d359ca1e3e818a1b3b8286f6b6bc
tree427d709e133dd85871f3b8ad845383631743b255
parentd6799ecc243befcf714bcf54dbbd41da13a6e290
prepare-root: Link to glib

Since we've split off the "prepare root as init" code
into a separate file, we can now use glib to parse
the config file again, which is a lot less hacky.

This is particularly motivated by composefs, where
we want to do more in the initramfs.  Future patches
may also link to parts of libostree.
Makefile-switchroot.am
src/switchroot/ostree-prepare-root.c