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
linux depends on utillinux #65363
Comments
Also, if it turns out it is necessary, we should see if |
util-linux is a minimal dependency as per kernel.org docs. At the time linux 4.15 wouldn't build without it, so i added it. If |
@pstn I tried kernel 4.19 and 5.4, they are both built well without |
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
still important to me In #86208, we partially fix the issue by replacing I still think we should better totally remove utillinux as dependency if it works, because even in currently latest docs,
Note that in docs, |
@oxalica Thanks for the highlight - I wasn't aware of this issue. #86208 stated:
Looking at https://github.com/NixOS/nixpkgs/pull/32137/files#diff-aee78996e4a0d3c9af109b3dd4ae9ff7R245, I assume we need to check for which version of the linux kernel it is required, and update the condition accordingly, so it's only included where it's needed. Would you mind opening a PR updating the condition to do that, and see if you can still build all the |
fixed by #97294. |
since commit e8fcced,
linux
4.15 and up depend on onutillinux
. as far as i can tell, it does not need this dependency.#32137 (comment) suggests that it was initially included for the
eject
binary, but i am not aware of that being a requirement and @ElvishJerricco reports that the kernel builds fine without theutillinux
dependency.furthermore,
utillinux
pulls in other unnecessary dependencies likesystemd
. if we truly need binaries which it provides, we should considerbusybox
as an alternative.The text was updated successfully, but these errors were encountered: