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

Added default config files for xfsprogs #29

Closed
wants to merge 1 commit into from
Closed

Conversation

Sparksssj
Copy link

Closes bottlerocket-os/bottlerocket#4281

Description of changes:

Part of bottlerocket-os/bottlerocket-core-kit#295

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Comment on lines +59 to +61
# Pull in XFSprogs default config files
Provides: %{_cross_os}kernel(mkfs-confs) = %{version}-%{release}

Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need this.

Suggested change
# Pull in XFSprogs default config files
Provides: %{_cross_os}kernel(mkfs-confs) = %{version}-%{release}

Comment on lines +300 to +301
mkdir -p %{buildroot}%{_cross_datadir}/xfs
install -p -m 0644 %{S:300} %{buildroot}%{_cross_datadir}/xfs/mkfs.xfs.conf
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just use the corresponding config file that's already in the xfsprogs package?

Suggested change
mkdir -p %{buildroot}%{_cross_datadir}/xfs
install -p -m 0644 %{S:300} %{buildroot}%{_cross_datadir}/xfs/mkfs.xfs.conf
mkdir -p %{buildroot}%{_cross_datadir}/xfsprogs/mkfs
ln -s lts_5.10.conf default.conf

Copy link
Author

Choose a reason for hiding this comment

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

Nice call, thanks! I didn't realize we can use them in that way.

@Sparksssj Sparksssj closed this Feb 4, 2025
@Sparksssj Sparksssj deleted the xfsupdate branch February 4, 2025 20:42
@Sparksssj
Copy link
Author

Closed this PR since it is pushed to a wrong branch

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.

XFS Ephemeral Storage fails to mount with: Superblock has unknown incompatible features (0x20) enabled.
2 participants