bootloader: fold all Android Bootloader specific logic into prepare-root
authorEric Curtin <ecurtin@redhat.com>
Thu, 20 Jul 2023 10:32:30 +0000 (11:32 +0100)
committerEric Curtin <ecurtin@redhat.com>
Thu, 20 Jul 2023 11:31:01 +0000 (12:31 +0100)
commitc89baaed771f604475b452f687f84e10e1565915
treea40cd23158defbf09c3e3a70e4a48346f55e08af
parent559361655d164134379e9c395e3009ee0d2a9b96
bootloader: fold all Android Bootloader specific logic into prepare-root

Now that we use androidboot.slot_suffix karg to determine whether we
boot into /ostree/root.a or /ostree/root.b, we can use ostree= karg
simply for parsing the stateroot, although we will still boot into
what's pointed to by /ostree/root.a or /ostree/root.b.
src/switchroot/ostree-mount-util.h
src/switchroot/ostree-prepare-root-static.c
src/switchroot/ostree-prepare-root.c
src/switchroot/ostree-system-generator.c