Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system_b as a /boot partition with Android Bootloader in CentOS Automotive SIG osbuild-manifests #51

Open
ericcurtin opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels

Comments

@ericcurtin
Copy link
Collaborator

ericcurtin commented Jan 11, 2024

In an Android Bootloader ostree deployment, we use system_a partition as the sole root partition. We have a /boot directory remaining which acts as a fake /boot partition. This is useful so ostree can store it's metadata in BLS format among other things. It helps integrate with our existing tooling which assume grub+BLS essentially.

As an advantage we save some space in system_a partition, and Android Bootloader deployments look more like a UEFI system.

This new system_b/boot partition can be ext4 by default to align with our other UEFI platforms.

In order to use initoverlayfs, it stores initoverlayfs image files in a simple /boot partition, like initrd's cpio image files are stored.

On completion of this our aboot builds in CentOS Automotive SIG will build three files:

aboot.img (this already exists) for boot_a/boot_b partition.
root.img (this already exists) for system_a partition.
boot.img for system_b partition. (this is the new ext4 one, that holds /boot stuff)

@iamianmullins iamianmullins self-assigned this Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants