Skip to content

[FEATURE] Add support for EROFS #122

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 4 commits into from
Mar 27, 2025
Merged

[FEATURE] Add support for EROFS #122

merged 4 commits into from
Mar 27, 2025

Conversation

darkspadez
Copy link
Contributor

Add support for EROFS

Now that alpha support EROFS, add support in sysext-bakery to build sysexts in EROFS.

How to use

Specify $fmt as erofs

Testing done

Initial building on test machine seems to work and load but needs more testing to make sure no issues w/ Flatcar and EROFS sysexts.

Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

Thanks, a small note regarding the erofs usage.

@darkspadez
Copy link
Contributor Author

darkspadez commented Mar 27, 2025

@tormath1 My apologies that was from testing, I have updated the code with the correct mkfs command

    ----- ===== ##### Creating extension image 'kubernetes.raw' and generating SHA256SUM ##### ===== -----
mkfs.erofs 1.5
Build completed.
    ----- ===== ##### 'kubernetes.raw' is now ready ##### ===== -----

@tormath1
Copy link
Contributor

@tormath1 My apologies that was from testing, I have updated the code with the correct mkfs command

    ----- ===== ##### Creating extension image 'kubernetes.raw' and generating SHA256SUM ##### ===== -----
mkfs.erofs 1.5
Build completed.
    ----- ===== ##### 'kubernetes.raw' is now ready ##### ===== -----

No worries, that looks better on my side too.

    ----- ===== ##### Creating extension image 'kubernetes.raw' and generating SHA256SUM ##### ===== -----
mkfs.erofs 1.8.4
Build completed.
------
Filesystem UUID: d80f0184-745e-4065-be50-48a09f906115
Filesystem total blocks: 72651 (of 4096-byte blocks)
Filesystem total inodes: 47
Filesystem total metadata blocks: 17
Filesystem total deduplicated bytes (of source files): 0
    ----- ===== ##### 'kubernetes.raw' is now ready ##### ===== -----

Added a note regarding the documentation on the requirements and we should be good to go.

@darkspadez
Copy link
Contributor Author

Updated the readme

Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your contribution!

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