Skip to content

Commit

Permalink
Merge pull request #3231 from alexlarsson/fix-aboot-non-ab
Browse files Browse the repository at this point in the history
prepare-root: Handle non-AB aboot properly
  • Loading branch information
ericcurtin authored Apr 15, 2024
2 parents 99ef980 + 6ac8c49 commit c8c436e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libotcore/otcore-prepare-root.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ otcore_get_ostree_target (const char *cmdline, gboolean *is_aboot, char **out_ta
*/
if (proc_cmdline_has_key_starting_with (cmdline, "androidboot."))
{
if (is_aboot)
*is_aboot = true;
*out_target = g_strdup (slot_a);
return TRUE;
}
Expand Down

0 comments on commit c8c436e

Please sign in to comment.