Skip to content
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

Switch RHEL10 default rootfs to erofs #1450

Draft
wants to merge 1 commit into
base: rhel10-branch
Choose a base branch
from

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Feb 20, 2025

This switches the default to erofs, makes squashfs-tools a Recommends (need to find out if that is ok to do with an unsupported package), and checks for the required tools early so you don't waste time if they aren't installed.

Also change the squashfs-tools Requires to Recommends so that it will
still be installed if it is available, and ignored if not.

Add checks so that --squashfs-only now conflicts with --rootfs-type when
using erofs. Also checks to make sure /usr/bin/mkfs.erofs is available,
or /usr/sbin/mksquashfs is available when parsing the cmdline so it will
exit early instead of running until rootfs creation fails without the
right tools.

Related: RHEL-48606
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant