Skip to content

When a local kernel build is needed, there needs to be a way to only build modules that are actually used. #17949

@spacekitteh

Description

@spacekitteh

So, I have a little embedded PC which I run NixOS on, and it has a slightly altered kernel config. Whenever there's an update to any of the kernel dependencies, it means the kernel has to be rebuilt, which takes about two hours. Most of that time is spent on driver modules which will never be required. So, there needs to be a way to specify that it should only build drivers that are actually applicable!

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: kernelThe Linux kernel
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions