Skip to content

install/to-disk: Drop separate /boot by default #529

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

Merged
merged 1 commit into from
May 15, 2024

Conversation

cgwalters
Copy link
Collaborator

In order to simplify what we're doing here, let's drop the separate /boot aka XBOOTLDR partition by default for the to-disk --block-setup=direct path (the default).

We retain it when using --block-setup=tpm2-luks as it's required there.

Notably this kills off a hardcoded "ext4 for /boot" which is suboptimal for many reasons.

Longer term again I'd like to emphasize install to-filesystem with external installers, plus integrating external installation scripts as part of bootc install to-disk.

xref:

Copy link
Contributor

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

In order to simplify what we're doing here, let's drop the separate
`/boot` aka XBOOTLDR partition by default for the `to-disk --block-setup=direct`
path (the default).

We retain it when using `--block-setup=tpm2-luks` as it's required there.

Notably this kills off a hardcoded "ext4 for /boot" which is suboptimal
for many reasons.

Longer term again I'd like to emphasize `install to-filesystem` with
external installers, plus integrating external installation scripts
as part of `bootc install to-disk`.

xref:
- bootc-dev#499
- bootc-dev#440

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters force-pushed the bootpn-only-if-luks branch from 8647db5 to e5548d8 Compare May 15, 2024 01:19
@cgwalters cgwalters merged commit 916539e into bootc-dev:main May 15, 2024
16 of 18 checks passed
cgwalters added a commit to cgwalters/bootc that referenced this pull request Nov 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…2.148

build(deps): bump libc from 0.2.147 to 0.2.148
cgwalters pushed a commit to cgwalters/bootc that referenced this pull request Nov 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Use cap_tempfile via cap_std_ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants