Skip to content

Conversation

@LaurenceKiln
Copy link
Contributor

Since eecf8b3 KernelModules= supports both inclusion and exclusion of kmods. When resolving kmod presets like "default" and "host" (and perhaps others in the future) it's important to retain the ordering of entries, so that the user can add a preset and then subtract only specific modules from the working set.

filter_kernel_modules relies on this ordering to do its job.

Since eecf8b3 `KernelModules=` supports both inclusion and exclusion
of kmods. When resolving kmod presets like "default" and "host"
(and perhaps others in the future) it's important to retain the
ordering of entries, so that the user can add a preset and then
subtract only specific modules from the working set.

`filter_kernel_modules` relies on this ordering to do its job.
@LaurenceKiln
Copy link
Contributor Author

@DaanDeMeyer , I noticed that when you merge PRs the original commit message is lost and there's also no reference to the Issue/PR. Is this deliberate? Should I just skip the commit messages?

@DaanDeMeyer
Copy link
Contributor

@DaanDeMeyer , I noticed that when you merge PRs the original commit message is lost and there's also no reference to the Issue/PR. Is this deliberate? Should I just skip the commit messages?

I just press merge when > 1 commit or rebase when 1 commit, same policy as in systemd. No clue what github does under the hood

@LaurenceKiln
Copy link
Contributor Author

Looks like "Rebase and merge" will not add a link to the PR, possibly because the rebase changes the commit hashes. That's idiotic.

https://github.com/orgs/community/discussions/62118

@DaanDeMeyer DaanDeMeyer merged commit 01c3854 into systemd:main Dec 3, 2025
39 of 40 checks passed
@DaanDeMeyer
Copy link
Contributor

@LaurenceKiln Please amend commits instead of pushing updates. We want to merge perfect commits and I don't have the muscle memory to remember I need to squash yours.

@LaurenceKiln LaurenceKiln deleted the keep_kmod_ordering branch December 3, 2025 19:54
@LaurenceKiln
Copy link
Contributor Author

LaurenceKiln commented Dec 3, 2025

understood. not too late to force-push a correction.

@DaanDeMeyer
Copy link
Contributor

not too late to force-push a correction.

People frown upon it so I don't do it, I also hope we have branch protection on.

Also, massive thanks for all the quality contributions! Great to see someone picking up the pace as I haven't been doing too much lately.

@LaurenceKiln
Copy link
Contributor Author

Thanks for the kudos. I came across the project it and it just grabbed me.

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

Development

Successfully merging this pull request may close these issues.

3 participants