-
Notifications
You must be signed in to change notification settings - Fork 332
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
Ensure user provided cmdline is always last #3158
Ensure user provided cmdline is always last #3158
Conversation
@septatrix We can just move the |
Then we would need to special case some things as e.g. |
@septatrix You can generalize |
aa9c9d5
to
01bd968
Compare
Not sure if I understood your suggestion correctly. I feel like I might have done the exact opposite now... |
This is required for '--' to work
01bd968
to
e2e3c47
Compare
This is required for
--
to work such that one can stop the kernel from parsing further options and simply passing them as arguments to the init processOpen to suggestions on how to improve this. We could for example first collect all of mkosi's options and then directly before executing qemu append the user provided cmdline. This is just the quickest fix, not necessarily the cleanest ;) It also assumes that nothing depends on the order of the arguments which I am not sure is the case (e.g. what happens if two
systemd.set_credential_binary
with the same name defined - with this change the order would be reversed).