docs: More accurate diagram in bootloaders documentation for aboot
authorEric Curtin <ecurtin@redhat.com>
Wed, 24 Apr 2024 14:47:13 +0000 (15:47 +0100)
committerEric Curtin <ecurtin@redhat.com>
Wed, 24 Apr 2024 20:00:37 +0000 (21:00 +0100)
The android bootloader is also split into two partitions, previously
that wasn't represented in the diagram.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
docs/bootloaders.md

index 6dd1e104ee73e9bbe01e5c47b0bd9338a0bc27fb..33ae37be9ec9f7a1f4d4d914b46e96f04022bcf8 100644 (file)
@@ -41,19 +41,19 @@ We have two accompanying scripts that work with this type of environment:
 [aboot-deploy](https://gitlab.com/CentOS/automotive/rpms/aboot-deploy) reads what the current slot is according to the `androidboot.slot_suffix=` karg, writes to the alternate boot_a or boot_b slot and sets a symlink either /ostree/root.a or /ostree/root.b so that it is known which userspace directory to boot into based on the `androidboot.slot_suffix=` karg, on subsequent boots.
 
 ```
-+-----------------------------+                            +---------------------------------+
-|                             |    +------------------+    |                                 |
-|  firmware appends:          |    |                  |    |                                 |
+                                                           +---------------------------------+
++-----------------------------+    +------------------+    |                                 |
+|  bootloader_a appends karg: |    |                  |    |                                 |
 |                             +--->+ boot_a partition +--->+                                 |
 |  androidboot.slot_suffix=_a |    |                  |    |                  /ostree/root.a |
-|                             |    +------------------+    |                                 |
-|  or                         |                            | system_a partition              |
-|                             |    +------------------+    |                                 |
-|  androidboot.slot_suffix=_b |    |                  |    |                  /ostree/root.b |
++-----------------------------+    +------------------+    |                                 |
+                                                           | system partition                |
++-----------------------------+    +------------------+    |                                 |
+|  bootloader_b appends karg: |    |                  |    |                  /ostree/root.b |
 |                             +--->+ boot_b partition +--->+                                 |
-|  to cmdline                 |    |                  |    |                                 |
-|                             |    +------------------+    |                                 |
-+-----------------------------+                            +---------------------------------+
+|  androidboot.slot_suffix=_b |    |                  |    |                                 |
++-----------------------------+    +------------------+    |                                 |
+                                                           +---------------------------------+
 ```
 
 ## GRUB and os-prober