Skip to content

Conversation

cgwalters
Copy link
Member

We do want to support this (as part of supporing the Boot Loader Spec) but because we use symlinks in /boot, can't yet.

Error out very early on consistently if we detect
vfat for /boot, but also add a member variable to keep track of this in preparation for supporting it.

@cgwalters cgwalters requested a review from Copilot April 6, 2025 21:26
@cgwalters
Copy link
Member Author

cc @igoropaniuk - can you review this?

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • tests/kolainst/nondestructive/itest-alt-sysroot.sh: Language not supported
Comments suppressed due to low confidence (1)

src/libostree/ostree-sysroot.c:352

  • The error message from glnx_throw_errno_prefix is simply "fstatfs"; consider adding more contextual information (e.g. noting the failure occurred while checking the boot partition) to make debugging easier.
if (fstatfs (self->boot_fd, &stbuf) < 0)

@cgwalters
Copy link
Member Author

OK I've rebased and tested this one.

We do want to support this (as part of supporing the
Boot Loader Spec) but because we use symlinks in `/boot`,
can't yet.

Error out very early on consistently if we detect
vfat for /boot, but also add a member variable to keep track
of this in preparation for supporting it.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters merged commit 7a32b86 into ostreedev:main Apr 30, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants