bootc-dev / bootc-dev/bootc

composefs: expose CLI for installing boot binaries and write composefs state

Open
#1,893 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

This is a feature request for exposing a CLI for installing boot binaries and write composefs state in bootc composefs backend.

bootc does not support installation of images across architectures. The main challenge of cross-installation is that bootc does not have a well-defined way of installing bootloaders across archs.

However I feel that as long as bootloader installation is handled externally (via tools or even manually by user), and the bootloader supports UAPI.1 BLS interface, there is nothing remaining in the logic of composefs backend that forbids it from being cross-arch. Therefore, exposing bootc composefs backend's boot binary installation and composefs state writing procedure can enable external integrations that make cross-arch installation possible.

Operations on composefs repo itself is already exposed via `cfsctl` (or `bootc internals cfs` that points to the same interface), so the functions that would be needed externally are `setup_composefs_bls_boot`, `setup_composefs_uki_boot` and `write_composefs_state`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.