Skip to content

Return untransformed filesystem - #377

Merged
Johan-Liebert1 merged 1 commit into
composefs:mainfrom
Johan-Liebert1:ret-full-fs
Aug 12, 2026
Merged

Return untransformed filesystem#377
Johan-Liebert1 merged 1 commit into
composefs:mainfrom
Johan-Liebert1:ret-full-fs

Conversation

@Johan-Liebert1

Copy link
Copy Markdown
Collaborator

In #376, I had forgotten that we transform the filesystem (which masks /boot) before creating the EROFS. Making off /boot is the opposite of what we need in bootc since bootc searches for boot entries in /boot

Comment thread crates/composefs-oci/src/lib.rs Outdated
In composefs#376, I had forgotten
that we transform the filesystem (which masks /boot) before creating the
EROFS. Making off /boot is the opposite of what we need in bootc since
bootc searches for boot entries in /boot

Define a function `generate_boot_image_get_fs` which does the exact same
operations as `generate_boot_image`, but returns the untransformed
filesystem to the caller

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>

@giuseppe giuseppe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@Johan-Liebert1
Johan-Liebert1 added this pull request to the merge queue Aug 12, 2026
Merged via the queue into composefs:main with commit 7692370 Aug 12, 2026
19 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