src/generator: Move all logic into libostree-1.so
authorColin Walters <walters@verbum.org>
Sun, 23 Jul 2023 14:47:19 +0000 (10:47 -0400)
committerColin Walters <walters@verbum.org>
Sun, 23 Jul 2023 14:47:19 +0000 (10:47 -0400)
commit303e7eb2e1191e4fc1798198e16becc925075bca
tree2d9e3524abd4c542e3a518e620cf718b93ae985b
parentec1109c7a93a2ed07503b12ffecf7048cf7cc0d0
src/generator: Move all logic into libostree-1.so

This pushes down the code for parsing the `ostree=` cmdline
in the generator into code that's part of libostree-1.so.

This is prep for using logic shared in libotcore.la.

But in general it's just cleaner to also keep the binary
entrypoint to just be a trampoline into the C library.
Makefile-libostree.am
src/libostree/ostree-cmd-private.h
src/libostree/ostree-impl-system-generator.c
src/switchroot/ostree-system-generator.c