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

fscreateoptions for additional partitions? #2396

Open
IsaacJT opened this issue Nov 21, 2023 · 3 comments
Open

fscreateoptions for additional partitions? #2396

IsaacJT opened this issue Nov 21, 2023 · 3 comments

Comments

@IsaacJT
Copy link
Collaborator

IsaacJT commented Nov 21, 2023

Problem description

I'm trying to work around an issue with creating XFS filesystems in a new userspace (Ubuntu 23.10) running an older kernel (5.4, as that's all the build environment supports) where mkfs.xfs in 23.10 enables additional features that the 5.4 kernel does not support. I've resolved this for the root partition using the information from https://osinside.github.io/kiwi/troubleshooting/filesystems.html, but this does not seem to apply to the additional partitions, e.g.:

            <partitions>
                <partition name="home" size="512" mountpoint="/home" filesystem="xfs" />
            </partitions>

Is it possible to set this behaviour for the additional partitions, somehow? Adding fscreateoptions to the partition causes a schema validation error.

Expected behaviour

We can set fscreateoptions on the additional partitions in order to disable unsupported features.

Steps to reproduce the behaviour

Create an Ubuntu 23.10 image with an additional XFS partition using a 23.10 userspace but with the kernel from Ubuntu 20.04.

OS and Software information

  • KIWI version: 9.25.17
  • Operating system host version: Ubuntu 20.04
  • Operating system target version: Ubuntu 23.10
  • Open Build Service version (N/A if not using OBS): N/A
  • Koji version (N/A if not using Koji): N/A
@schaefi
Copy link
Collaborator

schaefi commented Nov 21, 2023

Hi Isaac, good point. We can certainly add that

@schaefi
Copy link
Collaborator

schaefi commented Nov 21, 2023

Currently there is a lot on my plate, I can't make any promises when I get to it

@IsaacJT
Copy link
Collaborator Author

IsaacJT commented Nov 22, 2023

No problem, I know how that feels ;) thanks!

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

No branches or pull requests

2 participants