prepare-root: Handle non-AB aboot properly
authorAlexander Larsson <alexl@redhat.com>
Mon, 15 Apr 2024 18:09:34 +0000 (20:09 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 15 Apr 2024 18:09:34 +0000 (20:09 +0200)
commit6ac8c49a8347c939b7ce92cce86d0addb5d0a670
treedda2e2470cbbe010467b70c68470bf81dc021dd1
parent99ef9806e2de2cd24f772728e5e21ce24c702ad3
prepare-root: Handle non-AB aboot properly

otcore_get_ostree_target() should set is_aboot for android boot
systems, but currently it only does this on A/B boot systems, not
single-boot-partition systems. Fix this by setting it in the second
case.
src/libotcore/otcore-prepare-root.c